Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.001491/0.001491, allocations: 80.05 kB / 19.18 MB, free: 2.531 MB / 14.72 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 1.414/1.414, allocations: 177.1 MB / 199.5 MB, free: 8.434 MB / 190.1 MB " [Timeout remaining time 178] 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.0018/0.0018, allocations: 161.2 kB / 256 MB, free: 4.316 MB / 238.1 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.602/0.602, allocations: 80.25 MB / 392.6 MB, free: 29.69 MB / 334.1 MB " [Timeout remaining time 179] 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.5553 GB, free: 14.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.33e-05, allocations: 12.48 kB / 0.5553 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01186/0.01189, allocations: 11.81 MB / 0.5669 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00958/0.02147, allocations: 3.476 MB / 0.5703 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005646/0.02712, allocations: 28.47 kB / 0.5703 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003181/0.0303, allocations: 0.5611 MB / 0.5708 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009321/0.03962, allocations: 1.613 MB / 0.5724 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004432/0.04405, allocations: 1.561 MB / 0.5739 GB, free: 320 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00741/0.05146, allocations: 3.795 MB / 0.5777 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.05288, allocations: 0.5872 MB / 0.5782 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004536/0.05741, allocations: 2.159 MB / 0.5803 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002905/0.06032, allocations: 1.58 MB / 0.5819 GB, free: 11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001026/0.06134, allocations: 292 kB / 0.5822 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.06296, allocations: 455.8 kB / 0.5826 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008423/0.0638, allocations: 0.7972 MB / 0.5834 GB, free: 9.469 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.06556, allocations: 1.094 MB / 0.5844 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006087/0.07165, allocations: 4.131 MB / 0.5885 GB, free: 4.227 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.07165, allocations: 7.938 kB / 0.5885 GB, free: 4.219 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.07166, allocations: 0 / 0.5885 GB, free: 4.219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001518/0.07181, allocations: 0 / 0.5885 GB, free: 4.219 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02717/0.09897, allocations: 7.402 MB / 0.5957 GB, free: 12.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.09902, allocations: 8.031 kB / 0.5957 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/0.1155, allocations: 2.335 MB / 0.598 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004838/0.1204, allocations: 1.821 MB / 0.5998 GB, free: 8.484 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009746/0.1213, allocations: 0.8326 MB / 0.6006 GB, free: 7.516 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008213/0.1221, allocations: 223.9 kB / 0.6008 GB, free: 7.297 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007657/0.1298, allocations: 3.105 MB / 0.6038 GB, free: 4.102 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/0.1298, allocations: 0 / 0.6038 GB, free: 4.102 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/0.1301, allocations: 80 kB / 0.6039 GB, free: 4.023 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/0.1302, allocations: 48 kB / 0.604 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007341/0.1375, allocations: 2.834 MB / 0.6067 GB, free: 1.113 MB / 462.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.02084/0.1584, allocations: 7.441 MB / 0.614 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/0.1703, allocations: 3.582 MB / 0.6175 GB, free: 5.895 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005179/0.1755, allocations: 1.842 MB / 0.6193 GB, free: 4.035 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003196/0.1758, allocations: 37.98 kB / 0.6193 GB, free: 4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005485/0.1813, allocations: 2.298 MB / 0.6216 GB, free: 1.668 MB / 478.1 MB Notification: Performance of pre-optimization done (n=249): time 5.33e-06/0.1813, allocations: 4 kB / 0.6216 GB, free: 1.664 MB / 478.1 MB Notification: Performance of matching and sorting (n=249): time 0.1294/0.3108, allocations: 27.21 MB / 0.6481 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.3109, allocations: 180.2 kB / 0.6483 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/0.3152, allocations: 2.284 MB / 0.6505 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008025/0.316, allocations: 73.64 kB / 0.6506 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.3173, allocations: 1.201 MB / 0.6518 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001782/0.3191, allocations: 0.9102 MB / 0.6527 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/0.3205, allocations: 0.5501 MB / 0.6532 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3206, allocations: 305.1 kB / 0.6535 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005474/0.3261, allocations: 2.063 MB / 0.6555 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006059/0.3322, allocations: 2.418 MB / 0.6579 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06845/0.4006, allocations: 14.51 MB / 0.672 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.55e-05/0.4007, allocations: 4 kB / 0.6721 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.05111/0.4518, allocations: 12.55 MB / 0.6843 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.4519, allocations: 118.8 kB / 0.6844 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/0.4519, allocations: 11.98 kB / 0.6844 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02112/0.4731, allocations: 5.257 MB / 0.6896 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003859/0.4769, allocations: 0.5734 MB / 0.6901 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07457/0.5515, allocations: 22.5 MB / 0.7121 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005397/0.5569, allocations: 497.8 kB / 0.7126 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009301/0.5578, allocations: 119.9 kB / 0.7127 GB, free: 3.551 MB / 0.5606 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Syn2.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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002582/0.5604, allocations: 0.5299 MB / 0.7132 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/0.5618, allocations: 310 kB / 0.7135 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04851/0.6103, allocations: 11.89 MB / 0.7251 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.754e-05/0.6104, allocations: 24 kB / 0.7251 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.998e-05/0.6105, allocations: 24 kB / 0.7252 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.199e-05/0.6105, allocations: 19.83 kB / 0.7252 GB, free: 6.629 MB / 0.5762 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.3717/0.9822, allocations: 14.26 MB / 0.7391 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/0.9823, allocations: 3.781 kB / 0.7391 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/0.984, allocations: 247.4 kB / 0.7393 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02032/1.004, allocations: 5.29 MB / 0.7445 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008252/1.005, allocations: 55.03 kB / 0.7446 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06303/1.068, allocations: 23.98 MB / 0.768 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.068, allocations: 5.328 kB / 0.768 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04775/1.116, allocations: 14.34 MB / 0.782 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.117, allocations: 350 kB / 0.7823 GB, free: 131.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001279/1.118, allocations: 44 kB / 0.7824 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004054/1.122, allocations: 302.4 kB / 0.7826 GB, free: 131.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00277/1.125, allocations: 0.6034 MB / 0.7832 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006455/1.126, allocations: 75.86 kB / 0.7833 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002888/1.129, allocations: 1.51 MB / 0.7848 GB, free: 129 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.4e-07/1.129, allocations: 0 / 0.7848 GB, free: 129 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004921/1.134, allocations: 1.18 MB / 0.7859 GB, free: 127.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0007027/1.134, allocations: 179.2 kB / 0.7861 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01855/1.153, allocations: 6.48 MB / 0.7924 GB, free: 121.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.153, allocations: 0 / 0.7924 GB, free: 121.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0145/1.167, allocations: 4.299 MB / 0.7966 GB, free: 116.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004014/1.171, allocations: 272.2 kB / 0.7969 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/1.186, allocations: 5.375 MB / 0.8021 GB, free: 111.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/1.188, allocations: 1.257 MB / 0.8034 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001209/1.189, allocations: 258.3 kB / 0.8036 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/1.189, allocations: 176.5 kB / 0.8038 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.353e-06/1.189, allocations: 0 / 0.8038 GB, free: 109.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.08252/1.272, allocations: 69.6 MB / 0.8717 GB, free: 40 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.072486989200115] Failed to read output from testmodel.py, exit status != 0: 1.2810566537082195 1.291149125 1.216968819 Calling exit ...