Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008923/0.0008923, allocations: 174.1 kB / 16.07 MB, free: 5.582 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.325/1.325, allocations: 222.8 MB / 239.7 MB, free: 15.91 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.0007985/0.0007987, allocations: 91.22 kB / 290.4 MB, free: 4.574 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3221/0.3221, allocations: 78.43 MB / 419.6 MB, free: 56 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 12 kB / 499.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1381, allocations: 68.74 MB / 0.5545 GB, free: 3.469 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.007151/0.1453, allocations: 6.809 MB / 0.5612 GB, free: 12.62 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004046/0.1494, allocations: 2.013 MB / 0.5631 GB, free: 10.6 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007988/0.1502, allocations: 15.94 kB / 0.5631 GB, free: 10.59 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006836/0.151, allocations: 178.8 kB / 0.5633 GB, free: 10.41 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.1529, allocations: 0.7147 MB / 0.564 GB, free: 9.695 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.1541, allocations: 0.5834 MB / 0.5646 GB, free: 9.117 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001537/0.1557, allocations: 1.491 MB / 0.566 GB, free: 7.621 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/0.1561, allocations: 293.3 kB / 0.5663 GB, free: 7.324 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007053/0.1568, allocations: 0.5598 MB / 0.5669 GB, free: 6.762 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00077/0.1576, allocations: 0.7502 MB / 0.5676 GB, free: 6.008 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.1577, allocations: 60 kB / 0.5676 GB, free: 5.949 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.1582, allocations: 183.9 kB / 0.5678 GB, free: 5.77 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.1584, allocations: 262.6 kB / 0.5681 GB, free: 5.512 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004979/0.1589, allocations: 0.6016 MB / 0.5687 GB, free: 4.906 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.16, allocations: 1.223 MB / 0.5699 GB, free: 3.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.16, allocations: 0 / 0.5699 GB, free: 3.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.16, allocations: 0 / 0.5699 GB, free: 3.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.16, allocations: 0 / 0.5699 GB, free: 3.68 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.007512/0.1675, allocations: 2.431 MB / 0.5722 GB, free: 1.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1676, allocations: 8.031 kB / 0.5722 GB, free: 1.172 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004859/0.1725, allocations: 0.771 MB / 0.573 GB, free: 408 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.241/0.4134, allocations: 0.885 MB / 0.5738 GB, free: 45.72 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/0.4138, allocations: 252.7 kB / 0.5741 GB, free: 45.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.414, allocations: 84.31 kB / 0.5742 GB, free: 45.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.4159, allocations: 1.083 MB / 0.5752 GB, free: 45.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.416, allocations: 0 / 0.5752 GB, free: 45.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/0.416, allocations: 35.66 kB / 0.5753 GB, free: 45.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.4161, allocations: 18.69 kB / 0.5753 GB, free: 45.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.4179, allocations: 0.9921 MB / 0.5762 GB, free: 45.44 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.00586/0.4238, allocations: 3.811 MB / 0.58 GB, free: 44.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00685/0.4307, allocations: 2.366 MB / 0.5823 GB, free: 43.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.4322, allocations: 0.6729 MB / 0.5829 GB, free: 43.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.4323, allocations: 17.33 kB / 0.583 GB, free: 43.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001845/0.4342, allocations: 0.8186 MB / 0.5838 GB, free: 43.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 4.959e-06/0.4342, allocations: 0 / 0.5838 GB, free: 43.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.0279/0.4621, allocations: 7.199 MB / 0.5908 GB, free: 43.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.4622, allocations: 114.7 kB / 0.5909 GB, free: 43.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.4639, allocations: 1.091 MB / 0.592 GB, free: 42.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.4641, allocations: 45.69 kB / 0.592 GB, free: 42.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.4644, allocations: 493.9 kB / 0.5925 GB, free: 42.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.4647, allocations: 355.4 kB / 0.5928 GB, free: 42.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.4649, allocations: 149 kB / 0.593 GB, free: 42.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.465, allocations: 305.1 kB / 0.5932 GB, free: 41.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.4664, allocations: 0.7616 MB / 0.594 GB, free: 41.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.4678, allocations: 0.9258 MB / 0.5949 GB, free: 41.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02075/0.4886, allocations: 5.553 MB / 0.6003 GB, free: 39.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.4886, allocations: 0 / 0.6003 GB, free: 39.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01179/0.5004, allocations: 4.361 MB / 0.6046 GB, free: 38.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/0.5005, allocations: 57.91 kB / 0.6046 GB, free: 38.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.5005, allocations: 2.969 kB / 0.6046 GB, free: 38.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004998/0.5055, allocations: 1.592 MB / 0.6062 GB, free: 37.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.5068, allocations: 278.3 kB / 0.6065 GB, free: 37.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01687/0.5237, allocations: 7.833 MB / 0.6141 GB, free: 34.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.5257, allocations: 201.6 kB / 0.6143 GB, free: 34.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.5259, allocations: 57.05 kB / 0.6143 GB, free: 34.14 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006612/0.5266, allocations: 302.8 kB / 0.6146 GB, free: 33.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.5269, allocations: 130.6 kB / 0.6148 GB, free: 33.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/0.5419, allocations: 3.863 MB / 0.6185 GB, free: 32.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.012e-05/0.542, allocations: 11.25 kB / 0.6185 GB, free: 32.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-05/0.5421, allocations: 7.188 kB / 0.6186 GB, free: 32.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.655e-05/0.5421, allocations: 6.469 kB / 0.6186 GB, free: 32.89 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.02713/0.5693, allocations: 5.455 MB / 0.6239 GB, free: 30.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/0.5693, allocations: 0.9375 kB / 0.6239 GB, free: 30.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.5705, allocations: 105.7 kB / 0.624 GB, free: 30.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01037/0.5809, allocations: 1.6 MB / 0.6256 GB, free: 29.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002806/0.5813, allocations: 22.89 kB / 0.6256 GB, free: 29.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03243/0.6137, allocations: 8.791 MB / 0.6342 GB, free: 23.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.6138, allocations: 0 / 0.6342 GB, free: 23.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02453/0.6383, allocations: 4.722 MB / 0.6388 GB, free: 20.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005786/0.6389, allocations: 236.8 kB / 0.639 GB, free: 20.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/0.6393, allocations: 20.75 kB / 0.639 GB, free: 20.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/0.6413, allocations: 107.9 kB / 0.6391 GB, free: 19.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008471/0.6422, allocations: 188.7 kB / 0.6393 GB, free: 19.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.6423, allocations: 27.98 kB / 0.6393 GB, free: 19.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001536/0.6439, allocations: 0.7315 MB / 0.64 GB, free: 18.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6439, allocations: 4 kB / 0.64 GB, free: 18.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002088/0.646, allocations: 473.2 kB / 0.6405 GB, free: 18.49 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.0003176/0.6463, allocations: 137.5 kB / 0.6406 GB, free: 18.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01012/0.6565, allocations: 2.51 MB / 0.6431 GB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.6565, allocations: 0.75 kB / 0.6431 GB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006849/0.6634, allocations: 1.586 MB / 0.6446 GB, free: 14.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.6649, allocations: 123.4 kB / 0.6447 GB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/0.6704, allocations: 2.665 MB / 0.6473 GB, free: 11.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.6711, allocations: 1.12 MB / 0.6484 GB, free: 10.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005468/0.6717, allocations: 79.41 kB / 0.6485 GB, free: 10.18 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6717, allocations: 4 kB / 0.6485 GB, free: 10.18 MB / 442.7 MB Notification: Performance of Templates: time 0.04686/0.7185, allocations: 23.24 MB / 0.6712 GB, free: 3.098 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)