Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 103.5 kB / 16.4 MB, free: 5.949 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.492/1.492, allocations: 222.9 MB / 240.1 MB, free: 4.48 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.001822/0.001822, allocations: 192.5 kB / 290.4 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5167/0.5167, allocations: 78.52 MB / 419.1 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 83.81 kB / 0.5544 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.439, allocations: 68.18 MB / 0.621 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01165/0.4507, allocations: 13.58 MB / 0.6342 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008867/0.4596, allocations: 3.464 MB / 0.6376 GB, free: 9.078 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002512/0.4621, allocations: 31.94 kB / 0.6376 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.4639, allocations: 0.5537 MB / 0.6382 GB, free: 8.484 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005194/0.4691, allocations: 1.578 MB / 0.6397 GB, free: 6.906 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003749/0.4729, allocations: 1.496 MB / 0.6412 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006402/0.4793, allocations: 3.722 MB / 0.6448 GB, free: 1.691 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.4809, allocations: 0.9012 MB / 0.6457 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/0.4839, allocations: 1.529 MB / 0.6472 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00299/0.4869, allocations: 1.96 MB / 0.6491 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006429/0.4875, allocations: 287.9 kB / 0.6494 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.4887, allocations: 427.9 kB / 0.6498 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007763/0.4894, allocations: 0.7623 MB / 0.6505 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.4913, allocations: 1.631 MB / 0.6521 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00533/0.4967, allocations: 3.992 MB / 0.656 GB, free: 6.125 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.4967, allocations: 4 kB / 0.656 GB, free: 6.121 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4967, allocations: 0 / 0.656 GB, free: 6.121 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001208/0.4969, allocations: 0 / 0.656 GB, free: 6.121 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02526/0.5221, allocations: 6.689 MB / 0.6625 GB, free: 15.33 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.5222, allocations: 8.031 kB / 0.6625 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/0.5381, allocations: 2.296 MB / 0.6648 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005902/0.5441, allocations: 1.888 MB / 0.6666 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001024/0.5452, allocations: 0.7328 MB / 0.6674 GB, free: 10.22 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009637/0.5461, allocations: 220 kB / 0.6676 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007969/0.5541, allocations: 3.023 MB / 0.6705 GB, free: 6.906 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.5542, allocations: 4 kB / 0.6705 GB, free: 6.902 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000261/0.5545, allocations: 83.94 kB / 0.6706 GB, free: 6.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/0.5545, allocations: 52 kB / 0.6706 GB, free: 6.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006371/0.5609, allocations: 2.788 MB / 0.6734 GB, free: 3.965 MB / 478.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.01981/0.5807, allocations: 9.811 MB / 0.683 GB, free: 9.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.592, allocations: 4.18 MB / 0.687 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004221/0.5962, allocations: 1.964 MB / 0.689 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002799/0.5965, allocations: 37.97 kB / 0.689 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004701/0.6012, allocations: 2.234 MB / 0.6912 GB, free: 1.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=247): time 6.332e-06/0.6013, allocations: 4 kB / 0.6912 GB, free: 1.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=247): time 0.1261/0.7274, allocations: 29.47 MB / 0.72 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.7276, allocations: 184.2 kB / 0.7201 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/0.7317, allocations: 2.285 MB / 0.7224 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007644/0.7325, allocations: 65.7 kB / 0.7224 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.7336, allocations: 1.197 MB / 0.7236 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001548/0.7352, allocations: 0.9063 MB / 0.7245 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001224/0.7364, allocations: 0.558 MB / 0.725 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.7366, allocations: 305.1 kB / 0.7253 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004641/0.7412, allocations: 1.947 MB / 0.7272 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005079/0.7463, allocations: 2.314 MB / 0.7295 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05615/0.8025, allocations: 13.99 MB / 0.7431 GB, free: 11.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.266e-05/0.8026, allocations: 4 kB / 0.7431 GB, free: 11.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04207/0.8446, allocations: 12.3 MB / 0.7552 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.8448, allocations: 116.9 kB / 0.7553 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.8449, allocations: 8 kB / 0.7553 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01917/0.864, allocations: 5.324 MB / 0.7605 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003086/0.8672, allocations: 0.5578 MB / 0.761 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4907/1.358, allocations: 23.51 MB / 0.784 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004783/1.363, allocations: 494 kB / 0.7845 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006422/1.363, allocations: 122 kB / 0.7846 GB, free: 121 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 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 order3_1.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 (325): * Single equations (assignments): 320 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001493/1.365, allocations: 0.5318 MB / 0.7851 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007745/1.366, allocations: 313.6 kB / 0.7854 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03738/1.403, allocations: 11.9 MB / 0.797 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-05/1.403, allocations: 27.91 kB / 0.797 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-05/1.403, allocations: 21.72 kB / 0.7971 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.01e-05/1.403, allocations: 14.95 kB / 0.7971 GB, free: 118.2 MB / 0.5606 GB 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.04109/1.444, allocations: 15.48 MB / 0.8122 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/1.444, allocations: 0 / 0.8122 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/1.446, allocations: 247.6 kB / 0.8124 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01622/1.462, allocations: 5.284 MB / 0.8176 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007761/1.463, allocations: 47.98 kB / 0.8176 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05271/1.516, allocations: 24.98 MB / 0.842 GB, free: 76.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.516, allocations: 0 / 0.842 GB, free: 76.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04237/1.558, allocations: 14.28 MB / 0.856 GB, free: 62.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.56, allocations: 431.8 kB / 0.8564 GB, free: 61.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00138/1.561, allocations: 40 kB / 0.8564 GB, free: 61.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003672/1.565, allocations: 299.6 kB / 0.8567 GB, free: 61.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002327/1.567, allocations: 0.5763 MB / 0.8573 GB, free: 60.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/1.567, allocations: 71.98 kB / 0.8573 GB, free: 60.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002374/1.57, allocations: 1.507 MB / 0.8588 GB, free: 59.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.57, allocations: 0 / 0.8588 GB, free: 59.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00423/1.574, allocations: 1.181 MB / 0.86 GB, free: 58.25 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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 {(66,22,7.7%)} * 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.0004577/1.574, allocations: 169 kB / 0.8601 GB, free: 58.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01684/1.591, allocations: 6.716 MB / 0.8667 GB, free: 51.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.591, allocations: 0.5469 kB / 0.8667 GB, free: 51.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01269/1.604, allocations: 4.423 MB / 0.871 GB, free: 46.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/1.607, allocations: 270.7 kB / 0.8713 GB, free: 46.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009817/1.617, allocations: 5.373 MB / 0.8765 GB, free: 41.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.618, allocations: 1.806 MB / 0.8783 GB, free: 39.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001151/1.619, allocations: 262.5 kB / 0.8785 GB, free: 39.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/1.62, allocations: 167.4 kB / 0.8787 GB, free: 38.89 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/1.62, allocations: 4 kB / 0.8787 GB, free: 38.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.1071/1.727, allocations: 65.86 MB / 0.943 GB, free: 5.066 MB / 0.5919 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)