Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8828/0.8828, allocations: 177.1 MB / 201 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 162.8 kB / 257.7 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2932/0.2932, allocations: 83.3 MB / 397.5 MB, free: 15.02 MB / 330.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 495.2 MB, free: 6.828 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.197e-05, allocations: 2.312 kB / 495.2 MB, free: 6.824 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.008724/0.008746, allocations: 12.54 MB / 0.4958 GB, free: 10.25 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006372/0.01512, allocations: 3.473 MB / 0.4992 GB, free: 6.797 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.01658, allocations: 27.94 kB / 0.4992 GB, free: 6.77 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.01762, allocations: 0.562 MB / 0.4998 GB, free: 6.203 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002977/0.0206, allocations: 1.618 MB / 0.5014 GB, free: 4.59 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.02279, allocations: 1.536 MB / 0.5029 GB, free: 3.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003197/0.02599, allocations: 3.743 MB / 0.5065 GB, free: 15.33 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007979/0.02678, allocations: 0.5853 MB / 0.5071 GB, free: 14.69 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/0.02927, allocations: 2.147 MB / 0.5092 GB, free: 12.54 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.03065, allocations: 1.565 MB / 0.5107 GB, free: 10.97 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003859/0.03104, allocations: 287.9 kB / 0.511 GB, free: 10.69 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007434/0.03178, allocations: 439.8 kB / 0.5114 GB, free: 10.26 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004201/0.0322, allocations: 0.7817 MB / 0.5122 GB, free: 9.473 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007273/0.03293, allocations: 1.082 MB / 0.5132 GB, free: 8.387 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002172/0.0351, allocations: 2.887 MB / 0.516 GB, free: 5.488 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.0351, allocations: 4 kB / 0.5161 GB, free: 5.484 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.0351, allocations: 4 kB / 0.5161 GB, free: 5.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.047e-05/0.03513, allocations: 0 / 0.5161 GB, free: 5.48 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01127/0.04641, allocations: 7.654 MB / 0.5235 GB, free: 13.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.04644, allocations: 8.031 kB / 0.5235 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007545/0.05398, allocations: 2.729 MB / 0.5262 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.05563, allocations: 1.699 MB / 0.5279 GB, free: 9.199 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003797/0.05601, allocations: 0.81 MB / 0.5287 GB, free: 8.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/0.05628, allocations: 223.9 kB / 0.5289 GB, free: 8.031 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.05828, allocations: 1.796 MB / 0.5306 GB, free: 6.141 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.05831, allocations: 3.984 kB / 0.5306 GB, free: 6.137 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.05849, allocations: 91.98 kB / 0.5307 GB, free: 6.047 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.05852, allocations: 48 kB / 0.5308 GB, free: 6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.05996, allocations: 1.05 MB / 0.5318 GB, free: 4.895 MB / 458.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.01072/0.07068, allocations: 6.609 MB / 0.5382 GB, free: 14.12 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004513/0.07519, allocations: 1.963 MB / 0.5402 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.07627, allocations: 0.7373 MB / 0.5409 GB, free: 11.36 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.07647, allocations: 53.98 kB / 0.5409 GB, free: 11.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/0.07806, allocations: 1.176 MB / 0.5421 GB, free: 10.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=248): time 4.97e-06/0.07806, allocations: 0 / 0.5421 GB, free: 10.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=248): time 0.05782/0.1359, allocations: 19.96 MB / 0.5616 GB, free: 6.047 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.1359, allocations: 184.2 kB / 0.5617 GB, free: 5.828 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.1376, allocations: 1.964 MB / 0.5637 GB, free: 3.852 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.1378, allocations: 73.7 kB / 0.5637 GB, free: 3.773 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006447/0.1384, allocations: 1.289 MB / 0.565 GB, free: 2.473 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000573/0.139, allocations: 0.9333 MB / 0.5659 GB, free: 1.531 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007125/0.1397, allocations: 0.5843 MB / 0.5665 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.1398, allocations: 476.8 kB / 0.5669 GB, free: 476 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.1411, allocations: 0.8796 MB / 0.5678 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.1424, allocations: 1.351 MB / 0.5691 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003827/0.1463, allocations: 3.51 MB / 0.5725 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.1463, allocations: 4 kB / 0.5725 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01543/0.1617, allocations: 8.236 MB / 0.5806 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.388e-05/0.1618, allocations: 122.8 kB / 0.5807 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.1618, allocations: 4 kB / 0.5807 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01296/0.1747, allocations: 5.266 MB / 0.5858 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.1761, allocations: 0.5617 MB / 0.5864 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01615/0.1923, allocations: 9.072 MB / 0.5952 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.194, allocations: 410 kB / 0.5956 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.1941, allocations: 91.95 kB / 0.5957 GB, free: 2.301 MB / 0.5105 GB 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_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 (324): * Single equations (assignments): 319 * 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 {(64,24,8.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000676/0.1948, allocations: 385.3 kB / 0.5961 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004661/0.1953, allocations: 378 kB / 0.5965 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1646/0.3599, allocations: 7.463 MB / 0.6037 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.36, allocations: 26.56 kB / 0.6038 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/0.36, allocations: 19.89 kB / 0.6038 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/0.36, allocations: 15.61 kB / 0.6038 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/0.378, allocations: 9.502 MB / 0.6131 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.378, allocations: 1.438 kB / 0.6131 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/0.3787, allocations: 242.9 kB / 0.6133 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01277/0.3915, allocations: 5.21 MB / 0.6184 GB, free: 150 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/0.3917, allocations: 50.11 kB / 0.6185 GB, free: 150 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01564/0.4073, allocations: 13.02 MB / 0.6312 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4073, allocations: 3.938 kB / 0.6312 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.4221, allocations: 8.246 MB / 0.6392 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005542/0.4227, allocations: 351.8 kB / 0.6396 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/0.423, allocations: 47.98 kB / 0.6396 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.4242, allocations: 211.8 kB / 0.6398 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/0.4253, allocations: 0.576 MB / 0.6404 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.4254, allocations: 47.98 kB / 0.6404 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008788/0.4263, allocations: 1.116 MB / 0.6415 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4263, allocations: 0 / 0.6415 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002152/0.4284, allocations: 1.164 MB / 0.6426 GB, free: 136.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,23,7.8%)} * 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.0003358/0.4288, allocations: 177.5 kB / 0.6428 GB, free: 136 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005906/0.4347, allocations: 4.202 MB / 0.6469 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4347, allocations: 0 / 0.6469 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00439/0.4391, allocations: 3.164 MB / 0.65 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.4401, allocations: 315.8 kB / 0.6503 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005411/0.4455, allocations: 4.896 MB / 0.6551 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.4459, allocations: 0.5399 MB / 0.6556 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005188/0.4464, allocations: 254.3 kB / 0.6559 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/0.447, allocations: 382.1 kB / 0.6562 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.382e-06/0.447, allocations: 0 / 0.6562 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.06807/0.515, allocations: 77.3 MB / 0.7317 GB, free: 45.13 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.271180860698223]