Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 105 kB / 16.41 MB, free: 6.465 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.455/1.455, allocations: 222.9 MB / 240.1 MB, free: 4.348 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.001483/0.001484, allocations: 188.5 kB / 290.4 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4855/0.4855, allocations: 78.53 MB / 419.1 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 88.03 kB / 0.5543 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.439/0.4418, allocations: 68.17 MB / 0.6209 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.006098/0.448, allocations: 6.641 MB / 0.6274 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004153/0.4522, allocations: 1.99 MB / 0.6293 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008567/0.4531, allocations: 12 kB / 0.6293 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007354/0.4538, allocations: 238 kB / 0.6295 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.4556, allocations: 0.8339 MB / 0.6304 GB, free: 464 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.4569, allocations: 0.6309 MB / 0.631 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001903/0.4588, allocations: 1.643 MB / 0.6326 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004754/0.4593, allocations: 326.5 kB / 0.6329 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.4603, allocations: 0.6769 MB / 0.6335 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.4613, allocations: 0.8596 MB / 0.6344 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.4615, allocations: 128 kB / 0.6345 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.4622, allocations: 267.8 kB / 0.6348 GB, free: 11.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.4625, allocations: 338.6 kB / 0.6351 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005977/0.4631, allocations: 0.6913 MB / 0.6358 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.465, allocations: 1.71 MB / 0.6374 GB, free: 9.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.465, allocations: 0 / 0.6374 GB, free: 9.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.465, allocations: 0 / 0.6374 GB, free: 9.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.465, allocations: 0 / 0.6374 GB, free: 9.18 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009531/0.4746, allocations: 2.754 MB / 0.6401 GB, free: 6.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4746, allocations: 8.031 kB / 0.6401 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.48, allocations: 0.7787 MB / 0.6409 GB, free: 5.566 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.4819, allocations: 0.914 MB / 0.6418 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003078/0.4823, allocations: 264.1 kB / 0.642 GB, free: 4.301 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.4824, allocations: 87.91 kB / 0.6421 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.4847, allocations: 1.094 MB / 0.6432 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.4847, allocations: 3.938 kB / 0.6432 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.873e-05/0.4848, allocations: 32 kB / 0.6432 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.4849, allocations: 16 kB / 0.6432 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.4869, allocations: 1.003 MB / 0.6442 GB, free: 2.055 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.006809/0.4937, allocations: 3.855 MB / 0.648 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007709/0.5015, allocations: 2.387 MB / 0.6503 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.503, allocations: 0.6918 MB / 0.651 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-05/0.5031, allocations: 16.98 kB / 0.651 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001659/0.5048, allocations: 0.8294 MB / 0.6518 GB, free: 9.977 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.715e-06/0.5048, allocations: 3.938 kB / 0.6518 GB, free: 9.973 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.03051/0.5353, allocations: 7.218 MB / 0.6589 GB, free: 2.691 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.5355, allocations: 115.8 kB / 0.659 GB, free: 2.555 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/0.5382, allocations: 1.127 MB / 0.6601 GB, free: 1.414 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003673/0.5386, allocations: 45.7 kB / 0.6601 GB, free: 1.363 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006244/0.5392, allocations: 0.493 MB / 0.6606 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008459/0.5401, allocations: 362.9 kB / 0.6609 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/0.5411, allocations: 291.4 kB / 0.6612 GB, free: 220 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5413, allocations: 305.1 kB / 0.6615 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.5432, allocations: 0.7847 MB / 0.6623 GB, free: 15.13 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002094/0.5453, allocations: 0.946 MB / 0.6632 GB, free: 14.14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02601/0.5713, allocations: 5.798 MB / 0.6689 GB, free: 8.258 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.5714, allocations: 4 kB / 0.6689 GB, free: 8.254 MB / 478.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01419/0.5856, allocations: 4.446 MB / 0.6732 GB, free: 3.777 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.521e-05/0.5858, allocations: 71.33 kB / 0.6733 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.5858, allocations: 4 kB / 0.6733 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006488/0.5923, allocations: 1.635 MB / 0.6749 GB, free: 2.055 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.594, allocations: 291.6 kB / 0.6752 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02291/0.617, allocations: 8.592 MB / 0.6835 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.6193, allocations: 210.6 kB / 0.6838 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000342/0.6197, allocations: 63.89 kB / 0.6838 GB, free: 8.758 MB / 494.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (167): * Single equations (assignments): 164 * 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.001004/0.6207, allocations: 304.4 kB / 0.6841 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004673/0.6212, allocations: 126.5 kB / 0.6842 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.6348, allocations: 3.896 MB / 0.688 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/0.6349, allocations: 12 kB / 0.688 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.003e-05/0.6349, allocations: 11.94 kB / 0.6881 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-05/0.635, allocations: 3.984 kB / 0.6881 GB, free: 4.355 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.01649/0.6515, allocations: 5.51 MB / 0.6934 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.6515, allocations: 0 / 0.6934 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007586/0.6523, allocations: 103.8 kB / 0.6935 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006008/0.6583, allocations: 1.591 MB / 0.6951 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002597/0.6586, allocations: 24 kB / 0.6951 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0223/0.6809, allocations: 9.646 MB / 0.7045 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.681, allocations: 4 kB / 0.7045 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0161/0.6971, allocations: 4.782 MB / 0.7092 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006565/0.6979, allocations: 231.2 kB / 0.7094 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005202/0.6984, allocations: 19.94 kB / 0.7094 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.7, allocations: 107.9 kB / 0.7095 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007839/0.7008, allocations: 196.7 kB / 0.7097 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/0.701, allocations: 31.98 kB / 0.7098 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001506/0.7025, allocations: 0.7553 MB / 0.7105 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7025, allocations: 0 / 0.7105 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002053/0.7046, allocations: 487.5 kB / 0.711 GB, free: 12.43 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003971/0.705, allocations: 139.2 kB / 0.7111 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007372/0.7124, allocations: 2.589 MB / 0.7136 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.7124, allocations: 0 / 0.7136 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004782/0.7172, allocations: 1.591 MB / 0.7152 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.719, allocations: 117.2 kB / 0.7153 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/0.7243, allocations: 2.403 MB / 0.7176 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008905/0.7252, allocations: 1.136 MB / 0.7187 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004805/0.7257, allocations: 83.42 kB / 0.7188 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/0.7257, allocations: 0 / 0.7188 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of Templates: time 0.03659/0.7623, allocations: 23.99 MB / 0.7423 GB, free: 12.23 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)