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.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.0008267/0.0008267, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.8608/0.8608, allocations: 177.2 MB / 200.2 MB, free: 5.941 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.0011/0.0011, allocations: 160.6 kB / 256.7 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2544/0.2544, allocations: 80.25 MB / 393.4 MB, free: 2.438 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.5561 GB, free: 11.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/1.997e-05, allocations: 2.281 kB / 0.5561 GB, free: 11.74 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.007609/0.007629, allocations: 11.63 MB / 0.5674 GB, free: 60 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1916/0.1993, allocations: 3.436 MB / 0.5708 GB, free: 15.13 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006604/0.1999, allocations: 27.38 kB / 0.5708 GB, free: 15.13 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008155/0.2008, allocations: 0.5614 MB / 0.5714 GB, free: 14.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.2028, allocations: 1.601 MB / 0.5729 GB, free: 14.1 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.2047, allocations: 1.549 MB / 0.5744 GB, free: 13.5 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002262/0.207, allocations: 3.735 MB / 0.5781 GB, free: 11.63 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006096/0.2076, allocations: 0.5788 MB / 0.5787 GB, free: 11.31 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.2092, allocations: 2.13 MB / 0.5807 GB, free: 10.4 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.2105, allocations: 1.558 MB / 0.5823 GB, free: 9.984 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002931/0.2108, allocations: 286.3 kB / 0.5825 GB, free: 9.984 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006293/0.2114, allocations: 438 kB / 0.5829 GB, free: 9.953 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004972/0.2119, allocations: 0.7773 MB / 0.5837 GB, free: 9.496 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007742/0.2127, allocations: 1.085 MB / 0.5848 GB, free: 9.004 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00278/0.2155, allocations: 4.081 MB / 0.5887 GB, free: 7.492 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2155, allocations: 5.156 kB / 0.5888 GB, free: 7.488 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2155, allocations: 0 / 0.5888 GB, free: 7.488 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.815e-05/0.2155, allocations: 0 / 0.5888 GB, free: 7.488 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01116/0.2267, allocations: 7.339 MB / 0.5959 GB, free: 3.402 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2267, allocations: 13.47 kB / 0.5959 GB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007187/0.2339, allocations: 2.325 MB / 0.5982 GB, free: 2.484 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.2359, allocations: 1.81 MB / 0.6 GB, free: 1.133 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003591/0.2362, allocations: 0.8188 MB / 0.6008 GB, free: 340 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/0.2365, allocations: 226 kB / 0.601 GB, free: 256 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/0.2407, allocations: 3.086 MB / 0.604 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.2407, allocations: 1.125 kB / 0.604 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.2409, allocations: 84.97 kB / 0.6041 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.2409, allocations: 53.34 kB / 0.6041 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003643/0.2446, allocations: 2.824 MB / 0.6069 GB, free: 12.95 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.009586/0.2542, allocations: 7.381 MB / 0.6141 GB, free: 6.184 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005649/0.2598, allocations: 3.568 MB / 0.6176 GB, free: 2.582 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/0.2621, allocations: 1.826 MB / 0.6194 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.2623, allocations: 37.98 kB / 0.6194 GB, free: 0.707 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002996/0.2653, allocations: 2.289 MB / 0.6216 GB, free: 14.39 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 4.138e-06/0.2653, allocations: 0 / 0.6216 GB, free: 14.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.06625/0.3315, allocations: 29.25 MB / 0.6502 GB, free: 1.121 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.3316, allocations: 184.2 kB / 0.6504 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/0.3342, allocations: 2.252 MB / 0.6526 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003784/0.3346, allocations: 73.7 kB / 0.6526 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00062/0.3352, allocations: 1.198 MB / 0.6538 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007854/0.336, allocations: 0.8933 MB / 0.6547 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008609/0.3369, allocations: 0.5382 MB / 0.6552 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.337, allocations: 301.1 kB / 0.6555 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002623/0.3396, allocations: 2.039 MB / 0.6575 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002802/0.3424, allocations: 2.398 MB / 0.6598 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02832/0.3707, allocations: 14.28 MB / 0.6738 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.3707, allocations: 0 / 0.6738 GB, free: 8.555 MB / 0.5105 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.02168/0.3924, allocations: 12.28 MB / 0.6858 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/0.3925, allocations: 113.8 kB / 0.6859 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.3925, allocations: 8 kB / 0.6859 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009592/0.4021, allocations: 5.407 MB / 0.6912 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.4037, allocations: 0.55 MB / 0.6917 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03498/0.4387, allocations: 22.81 MB / 0.714 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.4415, allocations: 485.9 kB / 0.7144 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.4417, allocations: 116 kB / 0.7146 GB, free: 14.58 MB / 0.5573 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 (315): * Single equations (assignments): 310 * 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 {(64,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0009877/0.4427, allocations: 0.5255 MB / 0.7151 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/0.443, allocations: 310 kB / 0.7154 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02144/0.4644, allocations: 11.86 MB / 0.7269 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.4644, allocations: 28 kB / 0.727 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.4645, allocations: 16 kB / 0.727 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.4645, allocations: 15.95 kB / 0.727 GB, free: 1.742 MB / 0.5573 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.02405/0.4885, allocations: 14.2 MB / 0.7409 GB, free: 3.508 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.4885, allocations: 4 kB / 0.7409 GB, free: 3.504 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007249/0.4893, allocations: 243.7 kB / 0.7411 GB, free: 3.266 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009231/0.4985, allocations: 5.283 MB / 0.7463 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/0.4987, allocations: 51.98 kB / 0.7463 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0334/0.532, allocations: 23.99 MB / 0.7697 GB, free: 5.617 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5321, allocations: 4 kB / 0.7698 GB, free: 5.613 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02543/0.5575, allocations: 14.3 MB / 0.7837 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.5585, allocations: 341.5 kB / 0.784 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/0.5588, allocations: 44 kB / 0.7841 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.5602, allocations: 303.6 kB / 0.7844 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001496/0.5617, allocations: 0.6103 MB / 0.785 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.5619, allocations: 63.98 kB / 0.785 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001474/0.5633, allocations: 1.483 MB / 0.7865 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5633, allocations: 0 / 0.7865 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002154/0.5655, allocations: 1.182 MB / 0.7876 GB, free: 3.164 MB / 0.6198 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.0003356/0.5658, allocations: 173.6 kB / 0.7878 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.009581/0.5754, allocations: 6.538 MB / 0.7942 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5754, allocations: 0 / 0.7942 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006515/0.5819, allocations: 4.254 MB / 0.7983 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.583, allocations: 269.5 kB / 0.7986 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005943/0.5889, allocations: 5.314 MB / 0.8038 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/0.5897, allocations: 1.248 MB / 0.805 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/0.5901, allocations: 188.4 kB / 0.8052 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.5901, allocations: 0 / 0.8052 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of Templates: time 0.2251/0.8152, allocations: 65.74 MB / 0.8694 GB, free: 175.2 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (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 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.747507127933204] Failed to read output from testmodel.py, exit status != 0: 0.8209407608956099 0.826508192 0.609646268 Calling exit ...