Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.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.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008253/0.0008254, allocations: 176.1 kB / 15.42 MB, free: 6.145 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.208/1.208, allocations: 222.9 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007624/0.0007625, allocations: 100.7 kB / 289.8 MB, free: 4.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.2946/0.2946, allocations: 78.43 MB / 419 MB, free: 52 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 12.53 kB / 498.4 MB, free: 8.262 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1126, allocations: 68.74 MB / 0.5539 GB, free: 3.465 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.006512/0.1192, allocations: 6.891 MB / 0.5606 GB, free: 12.54 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003606/0.1228, allocations: 2.087 MB / 0.5626 GB, free: 10.45 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000733/0.1235, allocations: 12 kB / 0.5627 GB, free: 10.43 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006349/0.1242, allocations: 194.8 kB / 0.5628 GB, free: 10.24 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.1259, allocations: 0.7248 MB / 0.5636 GB, free: 9.52 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.1272, allocations: 0.6185 MB / 0.5642 GB, free: 8.906 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.1286, allocations: 1.554 MB / 0.5657 GB, free: 7.348 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003497/0.129, allocations: 277.3 kB / 0.5659 GB, free: 7.066 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005894/0.1296, allocations: 0.5754 MB / 0.5665 GB, free: 6.488 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007331/0.1303, allocations: 0.7815 MB / 0.5673 GB, free: 5.703 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.1304, allocations: 64 kB / 0.5673 GB, free: 5.641 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.1309, allocations: 199.8 kB / 0.5675 GB, free: 5.445 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.1311, allocations: 286.6 kB / 0.5678 GB, free: 5.164 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004549/0.1316, allocations: 0.6171 MB / 0.5684 GB, free: 4.543 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.1329, allocations: 1.603 MB / 0.57 GB, free: 2.934 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1329, allocations: 0 / 0.57 GB, free: 2.934 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1329, allocations: 0 / 0.57 GB, free: 2.934 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.1329, allocations: 0 / 0.57 GB, free: 2.934 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007807/0.1408, allocations: 2.498 MB / 0.5724 GB, free: 376 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1408, allocations: 12.03 kB / 0.5724 GB, free: 364 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2003/0.3411, allocations: 0.7708 MB / 0.5732 GB, free: 45.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.343, allocations: 0.9205 MB / 0.5741 GB, free: 45.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002283/0.3433, allocations: 231.9 kB / 0.5743 GB, free: 45.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.3434, allocations: 81.59 kB / 0.5744 GB, free: 45.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.3454, allocations: 1.119 MB / 0.5755 GB, free: 45.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.3454, allocations: 1.5 kB / 0.5755 GB, free: 45.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/0.3455, allocations: 32.62 kB / 0.5755 GB, free: 45.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.3455, allocations: 17.75 kB / 0.5755 GB, free: 45.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.3473, allocations: 1.02 MB / 0.5765 GB, free: 45.33 MB / 442.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.005799/0.3532, allocations: 3.96 MB / 0.5804 GB, free: 44.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006659/0.3598, allocations: 2.372 MB / 0.5827 GB, free: 43.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.3612, allocations: 0.7033 MB / 0.5834 GB, free: 43.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.3614, allocations: 20.06 kB / 0.5834 GB, free: 43.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.3614, allocations: 43.12 kB / 0.5834 GB, free: 43.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 3.116e-06/0.3614, allocations: 3.969 kB / 0.5834 GB, free: 43.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.02531/0.3867, allocations: 6.751 MB / 0.59 GB, free: 43.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.3868, allocations: 140.8 kB / 0.5902 GB, free: 43.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.3885, allocations: 1.135 MB / 0.5913 GB, free: 42.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.3887, allocations: 44.42 kB / 0.5913 GB, free: 42.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.3889, allocations: 0.5004 MB / 0.5918 GB, free: 42.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.3892, allocations: 359.4 kB / 0.5921 GB, free: 42.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.3894, allocations: 144.4 kB / 0.5923 GB, free: 42.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.751e-05/0.3894, allocations: 303.3 kB / 0.5926 GB, free: 41.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.3908, allocations: 0.7895 MB / 0.5933 GB, free: 41.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.3923, allocations: 0.9664 MB / 0.5943 GB, free: 41.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0222/0.4145, allocations: 5.903 MB / 0.6 GB, free: 39.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.4146, allocations: 0 / 0.6 GB, free: 39.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01199/0.4266, allocations: 4.48 MB / 0.6044 GB, free: 38.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.4267, allocations: 232.4 kB / 0.6046 GB, free: 37.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.4267, allocations: 2.969 kB / 0.6046 GB, free: 37.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005355/0.4321, allocations: 1.667 MB / 0.6063 GB, free: 37.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.4334, allocations: 281.5 kB / 0.6065 GB, free: 37.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/0.45, allocations: 7.94 MB / 0.6143 GB, free: 33.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.4519, allocations: 197 kB / 0.6145 GB, free: 33.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.452, allocations: 55.08 kB / 0.6145 GB, free: 33.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.452, allocations: 5.25 kB / 0.6145 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01276/0.4648, allocations: 4.324 MB / 0.6188 GB, free: 32.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.4648, allocations: 3.719 kB / 0.6188 GB, free: 32.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005833/0.4707, allocations: 1.66 MB / 0.6204 GB, free: 32.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.4721, allocations: 273.3 kB / 0.6207 GB, free: 32.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/0.4887, allocations: 7.95 MB / 0.6284 GB, free: 27.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.4904, allocations: 185.5 kB / 0.6286 GB, free: 27.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.4905, allocations: 56.69 kB / 0.6286 GB, free: 27.65 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (161): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006697/0.4912, allocations: 368.8 kB / 0.629 GB, free: 27.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.4914, allocations: 134.8 kB / 0.6291 GB, free: 27.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/0.5023, allocations: 3.804 MB / 0.6328 GB, free: 25.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.5023, allocations: 17.98 kB / 0.6329 GB, free: 25.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5024, allocations: 7.875 kB / 0.6329 GB, free: 25.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.001e-05/0.5024, allocations: 3.984 kB / 0.6329 GB, free: 25.3 MB / 442.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.01248/0.5149, allocations: 5.501 MB / 0.6382 GB, free: 20.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.5149, allocations: 0 / 0.6382 GB, free: 20.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007046/0.5156, allocations: 123.8 kB / 0.6384 GB, free: 20.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004357/0.52, allocations: 1.504 MB / 0.6398 GB, free: 18.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.5201, allocations: 24 kB / 0.6399 GB, free: 18.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/0.5326, allocations: 6.737 MB / 0.6464 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5326, allocations: 4.938 kB / 0.6464 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/0.5443, allocations: 4.683 MB / 0.651 GB, free: 6.918 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.5447, allocations: 231.1 kB / 0.6512 GB, free: 6.672 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.5449, allocations: 24 kB / 0.6513 GB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.5459, allocations: 103.9 kB / 0.6513 GB, free: 6.547 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000445/0.5464, allocations: 182.5 kB / 0.6515 GB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.239e-05/0.5464, allocations: 24 kB / 0.6515 GB, free: 6.344 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008378/0.5473, allocations: 0.7711 MB / 0.6523 GB, free: 5.566 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5473, allocations: 0 / 0.6523 GB, free: 5.566 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001706/0.549, allocations: 0.7774 MB / 0.6531 GB, free: 4.789 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * 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 (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000201/0.5492, allocations: 140.1 kB / 0.6532 GB, free: 4.645 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009502/0.5587, allocations: 4.54 MB / 0.6576 GB, free: 52 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5587, allocations: 0 / 0.6576 GB, free: 52 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003708/0.5625, allocations: 1.477 MB / 0.6591 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009052/0.5634, allocations: 123.1 kB / 0.6592 GB, free: 14.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.5671, allocations: 2.88 MB / 0.662 GB, free: 11.58 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/0.5677, allocations: 1.145 MB / 0.6631 GB, free: 10.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006128/0.5683, allocations: 157.5 kB / 0.6633 GB, free: 10.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.5686, allocations: 75.42 kB / 0.6633 GB, free: 10.19 MB / 458.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5686, allocations: 0 / 0.6633 GB, free: 10.19 MB / 458.7 MB Notification: Performance of Templates: time 0.037/0.6056, allocations: 27.6 MB / 0.6903 GB, free: 14.78 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)