Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.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.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 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.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 183.1 kB / 15.98 MB, free: 5.766 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.223/1.223, allocations: 222.9 MB / 239.6 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 99.44 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4174/0.4174, allocations: 78.51 MB / 418.5 MB, free: 8.547 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 75.88 kB / 497.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2658, allocations: 68.17 MB / 0.5524 GB, free: 19.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01511/0.2809, allocations: 14.56 MB / 0.5666 GB, free: 5.277 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009105/0.29, allocations: 3.64 MB / 0.5702 GB, free: 1.629 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.292, allocations: 35.94 kB / 0.5702 GB, free: 1.594 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008712/0.2929, allocations: 437.1 kB / 0.5706 GB, free: 1.164 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.2955, allocations: 1.239 MB / 0.5718 GB, free: 15.93 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.2982, allocations: 1.421 MB / 0.5732 GB, free: 14.54 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003177/0.3014, allocations: 3.617 MB / 0.5768 GB, free: 10.91 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009508/0.3024, allocations: 0.808 MB / 0.5776 GB, free: 10.05 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.304, allocations: 1.427 MB / 0.5789 GB, free: 8.613 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.3057, allocations: 1.89 MB / 0.5808 GB, free: 6.715 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003299/0.306, allocations: 176 kB / 0.581 GB, free: 6.543 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006333/0.3067, allocations: 315.9 kB / 0.5813 GB, free: 6.234 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004885/0.3072, allocations: 0.6646 MB / 0.5819 GB, free: 5.566 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.3084, allocations: 1.541 MB / 0.5834 GB, free: 4.016 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00303/0.3114, allocations: 3.853 MB / 0.5872 GB, free: 152 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3114, allocations: 0 / 0.5872 GB, free: 152 kB / 394.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.3114, allocations: 0 / 0.5872 GB, free: 152 kB / 394.7 MB Notification: Performance of Transformations before backend: time 3.383e-05/0.3115, allocations: 4 kB / 0.5872 GB, free: 148 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02166/0.3331, allocations: 6.641 MB / 0.5937 GB, free: 9.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3332, allocations: 8.031 kB / 0.5937 GB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01362/0.3468, allocations: 2.279 MB / 0.5959 GB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003505/0.3503, allocations: 1.894 MB / 0.5978 GB, free: 5.152 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006518/0.351, allocations: 0.7213 MB / 0.5985 GB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004161/0.3514, allocations: 223.9 kB / 0.5987 GB, free: 4.098 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005863/0.3573, allocations: 3.043 MB / 0.6016 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.3574, allocations: 4 kB / 0.6016 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.3576, allocations: 91.88 kB / 0.6017 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/0.3576, allocations: 48 kB / 0.6018 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005594/0.3632, allocations: 2.796 MB / 0.6045 GB, free: 14.02 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.01735/0.3806, allocations: 9.942 MB / 0.6142 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.3912, allocations: 4.199 MB / 0.6183 GB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00386/0.395, allocations: 1.976 MB / 0.6202 GB, free: 13.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.3953, allocations: 53.88 kB / 0.6203 GB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00435/0.3997, allocations: 2.24 MB / 0.6225 GB, free: 11.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 4.137e-06/0.3997, allocations: 0 / 0.6225 GB, free: 11.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1177/0.5174, allocations: 27.42 MB / 0.6493 GB, free: 15.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.5175, allocations: 184.2 kB / 0.6494 GB, free: 15.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.5207, allocations: 2.313 MB / 0.6517 GB, free: 12.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004962/0.5212, allocations: 73.7 kB / 0.6518 GB, free: 12.85 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007901/0.522, allocations: 1.18 MB / 0.6529 GB, free: 11.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008765/0.5229, allocations: 0.882 MB / 0.6538 GB, free: 10.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/0.5239, allocations: 0.5581 MB / 0.6543 GB, free: 10.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.821e-05/0.524, allocations: 305.1 kB / 0.6546 GB, free: 9.902 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004095/0.5281, allocations: 1.97 MB / 0.6565 GB, free: 7.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004394/0.5325, allocations: 2.354 MB / 0.6588 GB, free: 5.484 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05463/0.5871, allocations: 14.25 MB / 0.6728 GB, free: 6.992 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.5872, allocations: 8 kB / 0.6728 GB, free: 6.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.2828/0.87, allocations: 12.54 MB / 0.685 GB, free: 107.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.326e-05/0.8701, allocations: 116.3 kB / 0.6851 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.8701, allocations: 5.875 kB / 0.6851 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01738/0.8875, allocations: 5.26 MB / 0.6903 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/0.8904, allocations: 0.5822 MB / 0.6908 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04864/0.939, allocations: 21.31 MB / 0.7116 GB, free: 96.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00391/0.943, allocations: 493.1 kB / 0.7121 GB, free: 96.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/0.9433, allocations: 124.8 kB / 0.7122 GB, free: 96.25 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 329 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001004/0.9443, allocations: 0.5359 MB / 0.7128 GB, free: 95.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004161/0.9447, allocations: 297.6 kB / 0.713 GB, free: 95.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03724/0.9819, allocations: 11.93 MB / 0.7247 GB, free: 83.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/0.982, allocations: 26.16 kB / 0.7247 GB, free: 83.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.148e-05/0.982, allocations: 31 kB / 0.7247 GB, free: 83.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.705e-05/0.9821, allocations: 11.95 kB / 0.7247 GB, free: 83.38 MB / 490.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.04007/1.022, allocations: 15.56 MB / 0.7399 GB, free: 67.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/1.022, allocations: 4.062 kB / 0.7399 GB, free: 67.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.024, allocations: 247.7 kB / 0.7402 GB, free: 67.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01589/1.039, allocations: 5.307 MB / 0.7454 GB, free: 62.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005518/1.04, allocations: 47.98 kB / 0.7454 GB, free: 62.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04714/1.087, allocations: 22.67 MB / 0.7676 GB, free: 39.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.087, allocations: 4 kB / 0.7676 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.259/1.346, allocations: 93.49 MB / 0.8589 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005955/1.347, allocations: 412.8 kB / 0.8592 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/1.347, allocations: 44 kB / 0.8593 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002902/1.35, allocations: 299.6 kB / 0.8596 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001903/1.352, allocations: 0.5721 MB / 0.8601 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/1.352, allocations: 63.98 kB / 0.8602 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002064/1.354, allocations: 1.535 MB / 0.8617 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.4e-07/1.354, allocations: 0 / 0.8617 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004137/1.359, allocations: 1.651 MB / 0.8633 GB, free: 4.211 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(67,21,7.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003695/1.359, allocations: 175.6 kB / 0.8635 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01751/1.377, allocations: 6.658 MB / 0.87 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.377, allocations: 8.125 kB / 0.87 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0132/1.39, allocations: 4.422 MB / 0.8743 GB, free: 8.785 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/1.392, allocations: 270.6 kB / 0.8746 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/1.412, allocations: 10.19 MB / 0.8845 GB, free: 14.23 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/1.413, allocations: 1.932 MB / 0.8864 GB, free: 12.26 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001241/1.415, allocations: 274.6 kB / 0.8867 GB, free: 11.99 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006449/1.415, allocations: 179.3 kB / 0.8868 GB, free: 11.82 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/1.415, allocations: 0 / 0.8868 GB, free: 11.82 MB / 0.573 GB Notification: Performance of Templates: time 0.2963/1.711, allocations: 86.78 MB / 0.9716 GB, free: 139.4 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)