Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00603/0.00603, allocations: 101.5 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 239.4 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 188.4 kB / 289.7 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4639/0.4639, allocations: 78.53 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 83.81 kB / 0.5536 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3712, allocations: 68.17 MB / 0.6202 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005704/0.377, allocations: 6.703 MB / 0.6267 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004448/0.3815, allocations: 2.005 MB / 0.6287 GB, free: 1.516 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006228/0.3821, allocations: 12 kB / 0.6287 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006693/0.3828, allocations: 249.9 kB / 0.6289 GB, free: 1.258 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.3845, allocations: 0.8762 MB / 0.6298 GB, free: 396 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.3858, allocations: 0.6522 MB / 0.6304 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.3873, allocations: 1.675 MB / 0.6321 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004729/0.3878, allocations: 330.4 kB / 0.6324 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007219/0.3885, allocations: 0.6886 MB / 0.6331 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009135/0.3895, allocations: 0.8713 MB / 0.6339 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.3897, allocations: 132 kB / 0.634 GB, free: 12.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.3902, allocations: 267.9 kB / 0.6343 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003064/0.3905, allocations: 350.6 kB / 0.6346 GB, free: 11.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005802/0.3911, allocations: 0.6952 MB / 0.6353 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.3927, allocations: 1.738 MB / 0.637 GB, free: 8.984 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3927, allocations: 4 kB / 0.637 GB, free: 8.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3927, allocations: 0 / 0.637 GB, free: 8.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.3928, allocations: 0 / 0.637 GB, free: 8.98 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008971/0.4017, allocations: 2.774 MB / 0.6397 GB, free: 6.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.4018, allocations: 8.031 kB / 0.6397 GB, free: 6.129 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005008/0.4068, allocations: 0.7826 MB / 0.6405 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.4083, allocations: 0.9257 MB / 0.6414 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.4086, allocations: 264.1 kB / 0.6416 GB, free: 4.066 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/0.4088, allocations: 91.91 kB / 0.6417 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.411, allocations: 1.11 MB / 0.6428 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.411, allocations: 3.938 kB / 0.6428 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.86e-05/0.4111, allocations: 32 kB / 0.6429 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.4112, allocations: 20 kB / 0.6429 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.4132, allocations: 0.9995 MB / 0.6438 GB, free: 1.801 MB / 446.1 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.006414/0.4196, allocations: 3.887 MB / 0.6476 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007464/0.4271, allocations: 2.41 MB / 0.65 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.4286, allocations: 0.6956 MB / 0.6507 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.775e-05/0.4287, allocations: 24.95 kB / 0.6507 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001676/0.4304, allocations: 0.8412 MB / 0.6515 GB, free: 9.641 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 2.976e-06/0.4304, allocations: 0 / 0.6515 GB, free: 9.641 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02884/0.4592, allocations: 7.077 MB / 0.6584 GB, free: 2.504 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.4594, allocations: 119.7 kB / 0.6585 GB, free: 2.363 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.4612, allocations: 1.143 MB / 0.6597 GB, free: 1.207 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002525/0.4614, allocations: 45.7 kB / 0.6597 GB, free: 1.156 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.4618, allocations: 0.5008 MB / 0.6602 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003711/0.4622, allocations: 366.9 kB / 0.6605 GB, free: 292 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00052/0.4627, allocations: 299.4 kB / 0.6608 GB, free: 15.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.4628, allocations: 301.1 kB / 0.6611 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/0.4645, allocations: 0.8003 MB / 0.6619 GB, free: 14.89 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.4663, allocations: 0.9694 MB / 0.6628 GB, free: 13.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02605/0.4924, allocations: 5.919 MB / 0.6686 GB, free: 7.875 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.4924, allocations: 0 / 0.6686 GB, free: 7.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01456/0.507, allocations: 4.512 MB / 0.673 GB, free: 3.332 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/0.5071, allocations: 59.41 kB / 0.6731 GB, free: 3.262 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.5071, allocations: 4 kB / 0.6731 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006475/0.5136, allocations: 1.662 MB / 0.6747 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.5153, allocations: 303.5 kB / 0.675 GB, free: 1.297 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02166/0.537, allocations: 8.611 MB / 0.6834 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.5392, allocations: 210.6 kB / 0.6836 GB, free: 8.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.5393, allocations: 59.97 kB / 0.6837 GB, free: 8.262 MB / 494.1 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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * 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.0006761/0.54, allocations: 304.2 kB / 0.684 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.5402, allocations: 126.4 kB / 0.6841 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/0.5536, allocations: 3.92 MB / 0.6879 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.5536, allocations: 12 kB / 0.6879 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.5537, allocations: 8 kB / 0.6879 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.713e-05/0.5537, allocations: 3.984 kB / 0.6879 GB, free: 3.844 MB / 494.1 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.01514/0.5688, allocations: 5.557 MB / 0.6934 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.5689, allocations: 0 / 0.6934 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007107/0.5696, allocations: 107.9 kB / 0.6935 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005595/0.5752, allocations: 1.591 MB / 0.695 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/0.5754, allocations: 27.98 kB / 0.695 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0208/0.5962, allocations: 9.612 MB / 0.7044 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.5963, allocations: 3.938 kB / 0.7044 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/0.6115, allocations: 4.809 MB / 0.7091 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/0.6122, allocations: 227.2 kB / 0.7093 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003943/0.6126, allocations: 31.88 kB / 0.7094 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.614, allocations: 107.9 kB / 0.7095 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006718/0.6147, allocations: 196.7 kB / 0.7097 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.6149, allocations: 31.98 kB / 0.7097 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001417/0.6163, allocations: 0.7673 MB / 0.7104 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6163, allocations: 4 kB / 0.7105 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001741/0.6181, allocations: 487.6 kB / 0.7109 GB, free: 11.84 MB / 0.5137 GB 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,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003451/0.6184, allocations: 147.4 kB / 0.7111 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00722/0.6256, allocations: 2.616 MB / 0.7136 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6257, allocations: 0 / 0.7136 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004625/0.6303, allocations: 1.619 MB / 0.7152 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.6316, allocations: 120 kB / 0.7153 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/0.6362, allocations: 2.424 MB / 0.7177 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007496/0.637, allocations: 1.132 MB / 0.7188 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004978/0.6375, allocations: 120.3 kB / 0.7189 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/0.6378, allocations: 87.41 kB / 0.719 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of SimCode: time 2.284e-06/0.6378, allocations: 0 / 0.719 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of Templates: time 0.03765/0.6755, allocations: 24.71 MB / 0.7431 GB, free: 10.74 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)