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.00139/0.00139, allocations: 110.2 kB / 19.69 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.516/1.516, allocations: 230.6 MB / 253.4 MB, free: 14.42 MB / 206.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.001677/0.001677, allocations: 217.8 kB / 310 MB, free: 3.102 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.528/0.528, allocations: 79.73 MB / 446.2 MB, free: 38.79 MB / 350.1 MB " [Timeout remaining time 179] 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.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: 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.002615/0.002615, allocations: 85.89 kB / 0.5942 GB, free: 38.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1408, allocations: 73.3 MB / 0.6658 GB, free: 300 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01545/0.1562, allocations: 13.86 MB / 0.6793 GB, free: 3.672 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00939/0.1656, allocations: 3.562 MB / 0.6828 GB, free: 100 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003466/0.1691, allocations: 27.94 kB / 0.6828 GB, free: 72 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002352/0.1714, allocations: 0.5577 MB / 0.6834 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006634/0.1781, allocations: 1.601 MB / 0.6849 GB, free: 13.9 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004734/0.1828, allocations: 1.527 MB / 0.6864 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006977/0.1898, allocations: 3.846 MB / 0.6902 GB, free: 8.535 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.1917, allocations: 0.6128 MB / 0.6908 GB, free: 7.871 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.1951, allocations: 1.599 MB / 0.6923 GB, free: 6.266 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003504/0.1986, allocations: 2.022 MB / 0.6943 GB, free: 4.234 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.2, allocations: 292 kB / 0.6946 GB, free: 3.949 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.2017, allocations: 463.9 kB / 0.695 GB, free: 3.496 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.2032, allocations: 0.774 MB / 0.6958 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003058/0.2062, allocations: 1.658 MB / 0.6974 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007357/0.2136, allocations: 4.061 MB / 0.7014 GB, free: 12.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2136, allocations: 0 / 0.7014 GB, free: 12.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2136, allocations: 0 / 0.7014 GB, free: 12.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001912/0.2138, allocations: 0 / 0.7014 GB, free: 12.97 MB / 494.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.02753/0.2413, allocations: 7.452 MB / 0.7087 GB, free: 5.414 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.2414, allocations: 11.97 kB / 0.7087 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/0.257, allocations: 2.324 MB / 0.7109 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005306/0.2623, allocations: 1.824 MB / 0.7127 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001014/0.2633, allocations: 0.8295 MB / 0.7135 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/0.2643, allocations: 220 kB / 0.7137 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008932/0.2732, allocations: 3.051 MB / 0.7167 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.626e-05/0.2733, allocations: 0 / 0.7167 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006034/0.2739, allocations: 87.94 kB / 0.7168 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.969e-05/0.274, allocations: 55.98 kB / 0.7169 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007353/0.2813, allocations: 2.796 MB / 0.7196 GB, free: 9.926 MB / 0.4981 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.02428/0.3056, allocations: 9.772 MB / 0.7291 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/0.3175, allocations: 3.543 MB / 0.7326 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004737/0.3222, allocations: 1.786 MB / 0.7343 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005078/0.3227, allocations: 49.81 kB / 0.7344 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005882/0.3286, allocations: 2.244 MB / 0.7366 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 7.484e-06/0.3286, allocations: 0 / 0.7366 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=249): time 0.1202/0.4488, allocations: 27.1 MB / 0.763 GB, free: 12.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.449, allocations: 192.2 kB / 0.7632 GB, free: 12.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005215/0.4542, allocations: 2.317 MB / 0.7655 GB, free: 10.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008134/0.455, allocations: 69.7 kB / 0.7656 GB, free: 10.26 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.4564, allocations: 1.189 MB / 0.7667 GB, free: 9.059 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001761/0.4582, allocations: 0.9218 MB / 0.7676 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002704/0.4609, allocations: 0.5738 MB / 0.7682 GB, free: 7.547 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.461, allocations: 301.1 kB / 0.7685 GB, free: 7.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005298/0.4663, allocations: 1.974 MB / 0.7704 GB, free: 5.273 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005811/0.4721, allocations: 2.342 MB / 0.7727 GB, free: 2.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0609/0.533, allocations: 14.56 MB / 0.7869 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-05/0.5331, allocations: 4 kB / 0.7869 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04641/0.5795, allocations: 12.49 MB / 0.7991 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.5797, allocations: 117 kB / 0.7992 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-05/0.5797, allocations: 8 kB / 0.7992 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01911/0.5988, allocations: 5.257 MB / 0.8043 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003649/0.6025, allocations: 0.589 MB / 0.8049 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4214/1.024, allocations: 23.11 MB / 0.8275 GB, free: 113.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004443/1.028, allocations: 495.4 kB / 0.828 GB, free: 113.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004977/1.029, allocations: 118.3 kB / 0.8281 GB, free: 113.5 MB / 0.5762 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.0013/1.03, allocations: 0.5383 MB / 0.8286 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006681/1.031, allocations: 316.1 kB / 0.8289 GB, free: 113 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03537/1.066, allocations: 11.84 MB / 0.8405 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.943e-05/1.066, allocations: 23.31 kB / 0.8405 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.902e-05/1.066, allocations: 19.59 kB / 0.8405 GB, free: 110.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.846e-05/1.066, allocations: 19.23 kB / 0.8405 GB, free: 110.6 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.04061/1.107, allocations: 15.44 MB / 0.8556 GB, free: 98.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.473e-05/1.107, allocations: 0 / 0.8556 GB, free: 98.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/1.109, allocations: 255.6 kB / 0.8558 GB, free: 98.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01581/1.124, allocations: 5.295 MB / 0.861 GB, free: 93.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007088/1.125, allocations: 55.98 kB / 0.8611 GB, free: 93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0514/1.176, allocations: 24.66 MB / 0.8851 GB, free: 68.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.176, allocations: 3.984 kB / 0.8851 GB, free: 68.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04052/1.217, allocations: 14.25 MB / 0.8991 GB, free: 53.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.218, allocations: 349.3 kB / 0.8994 GB, free: 53.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008663/1.219, allocations: 48 kB / 0.8994 GB, free: 53.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003082/1.222, allocations: 299.6 kB / 0.8997 GB, free: 53.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001989/1.224, allocations: 0.6034 MB / 0.9003 GB, free: 52.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/1.224, allocations: 73.02 kB / 0.9004 GB, free: 52.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002154/1.226, allocations: 1.531 MB / 0.9019 GB, free: 50.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.226, allocations: 0 / 0.9019 GB, free: 50.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004118/1.231, allocations: 1.187 MB / 0.903 GB, free: 49.65 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.00047/1.231, allocations: 180 kB / 0.9032 GB, free: 49.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0168/1.248, allocations: 6.359 MB / 0.9094 GB, free: 43.03 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.248, allocations: 0 / 0.9094 GB, free: 43.03 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01241/1.26, allocations: 4.252 MB / 0.9136 GB, free: 38.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.263, allocations: 265.2 kB / 0.9138 GB, free: 38.44 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00905/1.272, allocations: 5.602 MB / 0.9193 GB, free: 32.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/1.273, allocations: 1.817 MB / 0.9211 GB, free: 30.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.274, allocations: 187.4 kB / 0.9212 GB, free: 30.8 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/1.274, allocations: 0 / 0.9212 GB, free: 30.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.0839/1.358, allocations: 65.12 MB / 0.9848 GB, free: 13.64 MB / 0.6231 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: 13.090029747923836] Failed to read output from testmodel.py, exit status != 0: 1.3677381100133061 1.3821554299999999 1.165217612 Calling exit ...