Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001474/0.001474, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.334/1.334, allocations: 230.6 MB / 253.4 MB, free: 8.281 MB / 206.1 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.001594/0.001594, allocations: 213.6 kB / 310 MB, free: 3.125 MB / 238.1 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.5089/0.5089, allocations: 101.3 MB / 467.8 MB, free: 10.29 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 87.86 kB / 0.6257 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3873, allocations: 78.61 MB / 0.7025 GB, free: 9.277 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.0104/0.3977, allocations: 13.92 MB / 0.7161 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008399/0.4061, allocations: 3.568 MB / 0.7196 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.4088, allocations: 32.25 kB / 0.7196 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.4105, allocations: 0.5597 MB / 0.7201 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005631/0.4162, allocations: 1.594 MB / 0.7217 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004095/0.4203, allocations: 1.527 MB / 0.7232 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00596/0.4262, allocations: 3.842 MB / 0.7269 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.4273, allocations: 0.615 MB / 0.7275 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.4301, allocations: 1.599 MB / 0.7291 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003535/0.4336, allocations: 2.022 MB / 0.7311 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009168/0.4345, allocations: 292.4 kB / 0.7314 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.4359, allocations: 458.3 kB / 0.7318 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008732/0.4368, allocations: 0.7781 MB / 0.7325 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002265/0.439, allocations: 1.653 MB / 0.7342 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005529/0.4446, allocations: 4.065 MB / 0.7381 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4446, allocations: 1.469 kB / 0.7381 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4446, allocations: 0 / 0.7381 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001084/0.4447, allocations: 0 / 0.7381 GB, free: 2.391 MB / 0.4981 GB 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.02458/0.4693, allocations: 7.446 MB / 0.7454 GB, free: 14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4693, allocations: 11 kB / 0.7454 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.4842, allocations: 2.325 MB / 0.7477 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004468/0.4887, allocations: 1.83 MB / 0.7495 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008988/0.4896, allocations: 0.8315 MB / 0.7503 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005449/0.4901, allocations: 218.2 kB / 0.7505 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00619/0.4963, allocations: 3.053 MB / 0.7535 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.4963, allocations: 0 / 0.7535 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/0.4966, allocations: 84.44 kB / 0.7536 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/0.4966, allocations: 54.58 kB / 0.7536 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005731/0.5023, allocations: 2.794 MB / 0.7563 GB, free: 7.547 MB / 0.5137 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 preOpt removeSimpleEquations (simulation): time 0.01903/0.5214, allocations: 9.787 MB / 0.7659 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.5317, allocations: 3.543 MB / 0.7694 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003888/0.5356, allocations: 1.784 MB / 0.7711 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/0.5359, allocations: 37.97 kB / 0.7711 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004396/0.5403, allocations: 2.255 MB / 0.7733 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 4.168e-06/0.5403, allocations: 0 / 0.7733 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=249): time 0.1127/0.653, allocations: 27.09 MB / 0.7998 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.6531, allocations: 188.3 kB / 0.8 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003803/0.6569, allocations: 2.317 MB / 0.8022 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007798/0.6577, allocations: 69.7 kB / 0.8023 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.6588, allocations: 1.197 MB / 0.8035 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001413/0.6603, allocations: 0.9179 MB / 0.8044 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/0.6615, allocations: 0.5699 MB / 0.8049 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6616, allocations: 305.1 kB / 0.8052 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004247/0.6658, allocations: 1.974 MB / 0.8071 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004564/0.6704, allocations: 2.334 MB / 0.8094 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05595/0.7263, allocations: 14.56 MB / 0.8236 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.7264, allocations: 0 / 0.8236 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04011/0.7665, allocations: 12.49 MB / 0.8358 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.7666, allocations: 121 kB / 0.836 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.7666, allocations: 8 kB / 0.836 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01732/0.7839, allocations: 5.257 MB / 0.8411 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003285/0.7872, allocations: 0.5851 MB / 0.8417 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05884/0.8461, allocations: 23.1 MB / 0.8642 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004548/0.8506, allocations: 497.8 kB / 0.8647 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005547/0.8512, allocations: 120 kB / 0.8648 GB, free: 8.645 MB / 0.6231 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 (334): * Single equations (assignments): 329 * 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.001441/0.8526, allocations: 0.5362 MB / 0.8653 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008325/0.8534, allocations: 321.9 kB / 0.8657 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03922/0.8927, allocations: 11.84 MB / 0.8772 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-05/0.8927, allocations: 31.98 kB / 0.8772 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.444e-05/0.8927, allocations: 16 kB / 0.8773 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.365e-05/0.8928, allocations: 11.95 kB / 0.8773 GB, free: 11.78 MB / 0.6387 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.04547/0.9382, allocations: 15.44 MB / 0.8923 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.9383, allocations: 0 / 0.8923 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/0.9398, allocations: 251.6 kB / 0.8926 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01737/0.9572, allocations: 5.3 MB / 0.8978 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005431/0.9577, allocations: 47.98 kB / 0.8978 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05826/1.016, allocations: 24.67 MB / 0.9219 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.016, allocations: 3.938 kB / 0.9219 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04463/1.061, allocations: 14.24 MB / 0.9358 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.062, allocations: 353.3 kB / 0.9361 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005278/1.062, allocations: 47.94 kB / 0.9362 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002883/1.065, allocations: 303.6 kB / 0.9365 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001878/1.067, allocations: 0.5995 MB / 0.9371 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/1.067, allocations: 71.98 kB / 0.9371 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002352/1.07, allocations: 1.535 MB / 0.9386 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/1.07, allocations: 0 / 0.9386 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003154/1.073, allocations: 1.183 MB / 0.9398 GB, free: 11.03 MB / 0.7012 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.0004225/1.073, allocations: 183.9 kB / 0.94 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01713/1.09, allocations: 6.356 MB / 0.9462 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.09, allocations: 0 / 0.9462 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.01304/1.103, allocations: 4.258 MB / 0.9503 GB, free: 64 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/1.106, allocations: 262.9 kB / 0.9506 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/1.116, allocations: 5.601 MB / 0.9561 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/1.118, allocations: 1.814 MB / 0.9578 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009951/1.119, allocations: 187.4 kB / 0.958 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of SimCode: time 8.62e-07/1.119, allocations: 4 kB / 0.958 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of Templates: time 0.3224/1.441, allocations: 65.1 MB / 1.022 GB, free: 230.2 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.58177923108451] Failed to read output from testmodel.py, exit status != 0: 1.4493114228826016 1.4573730409999999 1.010647093 Calling exit ...