Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007564/0.0007564, allocations: 177.4 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 223.3 MB / 239.5 MB, free: 1.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007687/0.000769, allocations: 98.38 kB / 290.7 MB, free: 13.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.414/0.414, allocations: 78.61 MB / 420.4 MB, free: 43.17 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 12 kB / 0.4888 GB, free: 1.746 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2859, allocations: 69.35 MB / 0.5565 GB, free: 39.42 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.003743/0.2897, allocations: 4.752 MB / 0.5611 GB, free: 37.62 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.2922, allocations: 1.614 MB / 0.5627 GB, free: 36.95 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002851/0.2925, allocations: 7.312 kB / 0.5627 GB, free: 36.95 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.2928, allocations: 128.4 kB / 0.5628 GB, free: 36.9 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.00115/0.294, allocations: 0.5808 MB / 0.5634 GB, free: 36.64 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.2947, allocations: 385 kB / 0.5638 GB, free: 36.57 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009878/0.2957, allocations: 1.018 MB / 0.5648 GB, free: 36.29 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.296, allocations: 197.8 kB / 0.565 GB, free: 36.19 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.2964, allocations: 384.8 kB / 0.5653 GB, free: 36.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000433/0.2968, allocations: 0.4905 MB / 0.5658 GB, free: 35.8 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.53e-05/0.2969, allocations: 45.94 kB / 0.5659 GB, free: 35.8 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.2973, allocations: 166.6 kB / 0.566 GB, free: 35.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.2974, allocations: 181.8 kB / 0.5662 GB, free: 35.66 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.2977, allocations: 440.7 kB / 0.5666 GB, free: 35.37 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007565/0.2985, allocations: 1.183 MB / 0.5678 GB, free: 34.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2985, allocations: 0 / 0.5678 GB, free: 34.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2985, allocations: 0 / 0.5678 GB, free: 34.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.2985, allocations: 2.656 kB / 0.5678 GB, free: 34.95 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004067/0.3026, allocations: 1.617 MB / 0.5693 GB, free: 34.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.3026, allocations: 11.75 kB / 0.5694 GB, free: 34.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002841/0.3054, allocations: 0.5249 MB / 0.5699 GB, free: 34.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006681/0.3061, allocations: 0.652 MB / 0.5705 GB, free: 33.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.3063, allocations: 150.1 kB / 0.5706 GB, free: 33.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.062e-05/0.3064, allocations: 56.39 kB / 0.5707 GB, free: 33.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.3075, allocations: 0.6977 MB / 0.5714 GB, free: 33.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3075, allocations: 0 / 0.5714 GB, free: 33.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/0.3076, allocations: 19.31 kB / 0.5714 GB, free: 33.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3076, allocations: 11.03 kB / 0.5714 GB, free: 33.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.3086, allocations: 0.6721 MB / 0.5721 GB, free: 32.91 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/0.3121, allocations: 2.667 MB / 0.5747 GB, free: 31.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.3229, allocations: 3.764 MB / 0.5783 GB, free: 30.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008064/0.3238, allocations: 487.5 kB / 0.5788 GB, free: 30.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.686e-05/0.3239, allocations: 14.25 kB / 0.5788 GB, free: 30.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.3239, allocations: 38.03 kB / 0.5789 GB, free: 30.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 3.075e-06/0.3239, allocations: 0 / 0.5789 GB, free: 30.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.01094/0.3349, allocations: 4.23 MB / 0.583 GB, free: 29.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.3349, allocations: 57.81 kB / 0.5831 GB, free: 29.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008652/0.3358, allocations: 0.771 MB / 0.5838 GB, free: 29.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/0.3358, allocations: 33.7 kB / 0.5838 GB, free: 28.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.336, allocations: 349.3 kB / 0.5842 GB, free: 28.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.3362, allocations: 218.7 kB / 0.5844 GB, free: 28.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3363, allocations: 90.98 kB / 0.5845 GB, free: 28.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.3364, allocations: 393.2 kB / 0.5848 GB, free: 28.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008604/0.3372, allocations: 0.5332 MB / 0.5854 GB, free: 27.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008959/0.3381, allocations: 0.6276 MB / 0.586 GB, free: 27.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0136/0.3517, allocations: 3.807 MB / 0.5897 GB, free: 26.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.3518, allocations: 3.219 kB / 0.5897 GB, free: 26.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006711/0.3585, allocations: 2.748 MB / 0.5924 GB, free: 25.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3585, allocations: 5.156 kB / 0.5924 GB, free: 25.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3585, allocations: 2.469 kB / 0.5924 GB, free: 25.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003932/0.3625, allocations: 1.197 MB / 0.5936 GB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/0.3632, allocations: 147.9 kB / 0.5937 GB, free: 25.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008954/0.3721, allocations: 5.107 MB / 0.5987 GB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.3732, allocations: 130.7 kB / 0.5988 GB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.939e-05/0.3733, allocations: 29.66 kB / 0.5988 GB, free: 22.85 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003561/0.3736, allocations: 230.5 kB / 0.5991 GB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3737, allocations: 84.84 kB / 0.5991 GB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005659/0.3794, allocations: 2.293 MB / 0.6014 GB, free: 21.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.3794, allocations: 6.828 kB / 0.6014 GB, free: 21.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3795, allocations: 4.625 kB / 0.6014 GB, free: 21.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.3795, allocations: 2.578 kB / 0.6014 GB, free: 21.99 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006891/0.3864, allocations: 3.386 MB / 0.6047 GB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3864, allocations: 1.219 kB / 0.6047 GB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004035/0.3868, allocations: 68.92 kB / 0.6048 GB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003169/0.39, allocations: 1.087 MB / 0.6058 GB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/0.39, allocations: 12.78 kB / 0.6058 GB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007073/0.3971, allocations: 4.142 MB / 0.6099 GB, free: 18.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3971, allocations: 0 / 0.6099 GB, free: 18.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006146/0.4033, allocations: 2.915 MB / 0.6127 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.4035, allocations: 182.8 kB / 0.6129 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.4036, allocations: 12.75 kB / 0.6129 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006526/0.4043, allocations: 70.91 kB / 0.613 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.4046, allocations: 114.1 kB / 0.6131 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.4046, allocations: 12.7 kB / 0.6131 GB, free: 15.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005413/0.4052, allocations: 0.522 MB / 0.6136 GB, free: 14.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4052, allocations: 0 / 0.6136 GB, free: 14.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007462/0.4059, allocations: 300.4 kB / 0.6139 GB, free: 14.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001631/0.4061, allocations: 120.1 kB / 0.614 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003503/0.4096, allocations: 1.911 MB / 0.6159 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4096, allocations: 4.062 kB / 0.6159 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002203/0.4119, allocations: 1.197 MB / 0.6171 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.4123, allocations: 58.98 kB / 0.6171 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.4141, allocations: 1.887 MB / 0.619 GB, free: 9.324 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.4144, allocations: 0.946 MB / 0.6199 GB, free: 8.344 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002228/0.4146, allocations: 73.12 kB / 0.6199 GB, free: 8.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.4148, allocations: 43.44 kB / 0.62 GB, free: 8.23 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4148, allocations: 0 / 0.62 GB, free: 8.23 MB / 426.7 MB Notification: Performance of Templates: time 0.01596/0.4308, allocations: 13 MB / 0.6327 GB, free: 11.26 MB / 442.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)