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.001556/0.001556, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.372/1.372, allocations: 230.6 MB / 253.4 MB, free: 14.3 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.001989/0.001989, allocations: 209.9 kB / 310 MB, free: 3.148 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.5685/0.5685, allocations: 107.2 MB / 473.6 MB, free: 29.92 MB / 350.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: 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.002511/0.002511, allocations: 82.84 kB / 0.6343 GB, free: 29.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.128, allocations: 80.15 MB / 0.7126 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01371/0.1417, allocations: 11.81 MB / 0.7241 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007844/0.1495, allocations: 3.465 MB / 0.7275 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.1516, allocations: 31.94 kB / 0.7275 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.1533, allocations: 0.5615 MB / 0.7281 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.1583, allocations: 1.572 MB / 0.7296 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003732/0.1621, allocations: 1.525 MB / 0.7311 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005164/0.1672, allocations: 3.827 MB / 0.7348 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.1683, allocations: 0.5815 MB / 0.7354 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.1705, allocations: 1.603 MB / 0.737 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/0.1729, allocations: 1.839 MB / 0.7388 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004855/0.1734, allocations: 292 kB / 0.7391 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00091/0.1743, allocations: 447.9 kB / 0.7395 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006971/0.175, allocations: 0.7857 MB / 0.7402 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.1763, allocations: 1.344 MB / 0.7416 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0046/0.1809, allocations: 4.096 MB / 0.7456 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1809, allocations: 7.922 kB / 0.7456 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1809, allocations: 0 / 0.7456 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.161e-05/0.181, allocations: 0 / 0.7456 GB, free: 5.223 MB / 0.5137 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.02412/0.2051, allocations: 7.452 MB / 0.7528 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2052, allocations: 12.02 kB / 0.7529 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0152/0.2204, allocations: 2.327 MB / 0.7551 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00427/0.2246, allocations: 1.817 MB / 0.7569 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008671/0.2255, allocations: 0.8334 MB / 0.7577 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005384/0.2261, allocations: 216 kB / 0.7579 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006435/0.2325, allocations: 3.101 MB / 0.761 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/0.2325, allocations: 0 / 0.761 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/0.2328, allocations: 91.92 kB / 0.761 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-05/0.2328, allocations: 56 kB / 0.7611 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006038/0.2389, allocations: 2.83 MB / 0.7639 GB, free: 2.062 MB / 0.5294 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.01756/0.2564, allocations: 7.439 MB / 0.7711 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.2671, allocations: 3.586 MB / 0.7746 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004375/0.2715, allocations: 1.842 MB / 0.7764 GB, free: 4.977 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003288/0.2718, allocations: 33.98 kB / 0.7765 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00531/0.2771, allocations: 2.296 MB / 0.7787 GB, free: 2.613 MB / 0.545 GB Notification: Performance of pre-optimization done (n=249): time 6.562e-06/0.2771, allocations: 0 / 0.7787 GB, free: 2.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=249): time 0.1165/0.3936, allocations: 27.21 MB / 0.8053 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.3937, allocations: 192.2 kB / 0.8055 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004087/0.3978, allocations: 2.276 MB / 0.8077 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000637/0.3985, allocations: 81.75 kB / 0.8078 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.3996, allocations: 1.197 MB / 0.8089 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001441/0.4011, allocations: 0.9179 MB / 0.8098 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001873/0.4029, allocations: 0.5462 MB / 0.8103 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4031, allocations: 301.1 kB / 0.8106 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2845/0.6876, allocations: 2.063 MB / 0.8127 GB, free: 86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005226/0.6928, allocations: 2.425 MB / 0.815 GB, free: 85.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0555/0.7483, allocations: 14.51 MB / 0.8292 GB, free: 82.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-05/0.7483, allocations: 1.844 kB / 0.8292 GB, free: 82.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.03712/0.7855, allocations: 12.54 MB / 0.8414 GB, free: 79.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.123e-05/0.7855, allocations: 118.6 kB / 0.8416 GB, free: 79.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.7855, allocations: 9.812 kB / 0.8416 GB, free: 79.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01515/0.8007, allocations: 5.269 MB / 0.8467 GB, free: 77.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/0.8036, allocations: 0.5695 MB / 0.8473 GB, free: 76.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04957/0.8531, allocations: 22.5 MB / 0.8692 GB, free: 54.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003995/0.8571, allocations: 492.7 kB / 0.8697 GB, free: 53.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005257/0.8577, allocations: 116 kB / 0.8698 GB, free: 53.71 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 (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.001232/0.8589, allocations: 0.5387 MB / 0.8703 GB, free: 53.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000577/0.8595, allocations: 306 kB / 0.8706 GB, free: 52.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03341/0.8929, allocations: 11.9 MB / 0.8823 GB, free: 40.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.8929, allocations: 24 kB / 0.8823 GB, free: 40.83 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/0.8929, allocations: 16 kB / 0.8823 GB, free: 40.81 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.954e-05/0.8929, allocations: 21.08 kB / 0.8823 GB, free: 40.79 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.03673/0.9297, allocations: 14.25 MB / 0.8962 GB, free: 26.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/0.9297, allocations: 0 / 0.8962 GB, free: 26.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.9311, allocations: 251.6 kB / 0.8965 GB, free: 26.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01499/0.946, allocations: 5.287 MB / 0.9016 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004462/0.9465, allocations: 51.98 kB / 0.9017 GB, free: 20.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04985/0.9963, allocations: 23.99 MB / 0.9251 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.9963, allocations: 7.984 kB / 0.9251 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0454/1.042, allocations: 14.34 MB / 0.9391 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008422/1.043, allocations: 355.1 kB / 0.9395 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004529/1.043, allocations: 48 kB / 0.9395 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002799/1.046, allocations: 303.6 kB / 0.9398 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001903/1.048, allocations: 0.6066 MB / 0.9404 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/1.048, allocations: 63.98 kB / 0.9405 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002296/1.05, allocations: 1.507 MB / 0.9419 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/1.05, allocations: 4 kB / 0.9419 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003102/1.053, allocations: 1.185 MB / 0.9431 GB, free: 10.16 MB / 0.6075 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.0004071/1.054, allocations: 173 kB / 0.9433 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01775/1.072, allocations: 6.497 MB / 0.9496 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.072, allocations: 0 / 0.9496 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01313/1.085, allocations: 4.298 MB / 0.9538 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/1.087, allocations: 272.7 kB / 0.9541 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009891/1.097, allocations: 5.652 MB / 0.9596 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/1.098, allocations: 1.265 MB / 0.9608 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009007/1.099, allocations: 183.4 kB / 0.961 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of SimCode: time 8.61e-07/1.099, allocations: 0 / 0.961 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of Templates: time 0.08652/1.185, allocations: 66.2 MB / 1.026 GB, free: 5.32 MB / 0.6856 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: 11.425952793564647] Failed to read output from testmodel.py, exit status != 0: 1.1936154360882938 1.20795815 1.02405604 Calling exit ...