Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001911/0.001911, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.483/1.483, allocations: 230.6 MB / 250.5 MB, free: 9.227 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.001835/0.001835, allocations: 225 kB / 306.7 MB, free: 4.301 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.595/0.595, allocations: 107.3 MB / 470 MB, free: 6.258 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.002624/0.002624, allocations: 83.88 kB / 0.6294 GB, free: 7.191 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4761, allocations: 80.13 MB / 0.7077 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01292/0.489, allocations: 13.71 MB / 0.721 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009333/0.4983, allocations: 3.523 MB / 0.7245 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003293/0.5016, allocations: 33.59 kB / 0.7245 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002364/0.504, allocations: 0.5563 MB / 0.7251 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006883/0.5109, allocations: 1.577 MB / 0.7266 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00474/0.5156, allocations: 1.512 MB / 0.7281 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007442/0.5231, allocations: 3.717 MB / 0.7317 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.5247, allocations: 0.6133 MB / 0.7323 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.528, allocations: 1.575 MB / 0.7338 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004361/0.5324, allocations: 1.976 MB / 0.7358 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.5339, allocations: 285.9 kB / 0.736 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.5359, allocations: 464.9 kB / 0.7365 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.537, allocations: 0.7641 MB / 0.7372 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003201/0.5402, allocations: 1.635 MB / 0.7388 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007541/0.5478, allocations: 4.004 MB / 0.7427 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.5478, allocations: 0 / 0.7427 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5478, allocations: 1.281 kB / 0.7427 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002003/0.548, allocations: 3.938 kB / 0.7427 GB, free: 13.42 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02731/0.5753, allocations: 6.712 MB / 0.7493 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5753, allocations: 9.781 kB / 0.7493 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.5919, allocations: 2.324 MB / 0.7516 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00537/0.5972, allocations: 1.889 MB / 0.7534 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009982/0.5982, allocations: 0.7343 MB / 0.7541 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008691/0.5991, allocations: 221.7 kB / 0.7543 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007975/0.6071, allocations: 3.026 MB / 0.7573 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.6071, allocations: 0 / 0.7573 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.6074, allocations: 89.25 kB / 0.7574 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.816e-05/0.6075, allocations: 52.91 kB / 0.7574 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007116/0.6146, allocations: 2.788 MB / 0.7602 GB, free: 2.457 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.02268/0.6373, allocations: 9.819 MB / 0.7697 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/0.6491, allocations: 3.977 MB / 0.7736 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00487/0.654, allocations: 1.772 MB / 0.7754 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/0.6544, allocations: 41.95 kB / 0.7754 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006454/0.6608, allocations: 2.234 MB / 0.7776 GB, free: 44 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=247): time 6.723e-06/0.6608, allocations: 0 / 0.7776 GB, free: 44 kB / 0.5294 GB Notification: Performance of matching and sorting (n=247): time 0.1604/0.8212, allocations: 29.39 MB / 0.8063 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.8214, allocations: 188.2 kB / 0.8065 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004091/0.8255, allocations: 2.281 MB / 0.8087 GB, free: 8 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007582/0.8262, allocations: 73.7 kB / 0.8088 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.8274, allocations: 1.189 MB / 0.8099 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00158/0.829, allocations: 0.9063 MB / 0.8108 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/0.8303, allocations: 0.5619 MB / 0.8114 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.8304, allocations: 301.1 kB / 0.8116 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00485/0.8353, allocations: 1.947 MB / 0.8135 GB, free: 11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005211/0.8405, allocations: 2.314 MB / 0.8158 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06113/0.9016, allocations: 14.32 MB / 0.8298 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.9016, allocations: 4 kB / 0.8298 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04487/0.9465, allocations: 12.21 MB / 0.8417 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.9466, allocations: 118.8 kB / 0.8418 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.9466, allocations: 11.94 kB / 0.8418 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01983/0.9665, allocations: 5.317 MB / 0.847 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/0.9697, allocations: 0.5617 MB / 0.8476 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07075/1.04, allocations: 23.51 MB / 0.8705 GB, free: 48 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005222/1.046, allocations: 498 kB / 0.871 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006047/1.046, allocations: 115.9 kB / 0.8711 GB, free: 15.44 MB / 0.6387 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 (325): * Single equations (assignments): 320 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001408/1.048, allocations: 0.5366 MB / 0.8716 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008444/1.049, allocations: 310 kB / 0.8719 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04664/1.095, allocations: 11.82 MB / 0.8835 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.259e-05/1.095, allocations: 28 kB / 0.8835 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.63e-05/1.095, allocations: 16 kB / 0.8835 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.193e-05/1.095, allocations: 15.95 kB / 0.8835 GB, free: 2.648 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.05159/1.147, allocations: 15.41 MB / 0.8986 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/1.147, allocations: 0 / 0.8986 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.149, allocations: 259.5 kB / 0.8988 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02045/1.169, allocations: 5.272 MB / 0.904 GB, free: 13.54 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006709/1.17, allocations: 51.98 kB / 0.904 GB, free: 13.49 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06954/1.239, allocations: 24.99 MB / 0.9284 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.239, allocations: 8 kB / 0.9284 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05199/1.291, allocations: 14.2 MB / 0.9423 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.292, allocations: 422.6 kB / 0.9427 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/1.293, allocations: 44 kB / 0.9428 GB, free: 5.254 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003756/1.297, allocations: 299.6 kB / 0.943 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002396/1.3, allocations: 0.5841 MB / 0.9436 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003932/1.3, allocations: 63.98 kB / 0.9437 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002873/1.303, allocations: 1.507 MB / 0.9451 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/1.303, allocations: 0 / 0.9451 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004081/1.307, allocations: 1.186 MB / 0.9463 GB, free: 1.613 MB / 0.7012 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.0005273/1.307, allocations: 183.3 kB / 0.9465 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.02069/1.328, allocations: 6.399 MB / 0.9527 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.328, allocations: 0 / 0.9527 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01526/1.343, allocations: 4.211 MB / 0.9568 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/1.346, allocations: 276.5 kB / 0.9571 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/1.357, allocations: 5.445 MB / 0.9624 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/1.359, allocations: 1.806 MB / 0.9642 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.36, allocations: 187.4 kB / 0.9644 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of SimCode: time 8.22e-07/1.36, allocations: 0 / 0.9644 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.4075/1.768, allocations: 64.63 MB / 1.027 GB, free: 216.7 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.22930946201086] Failed to read output from testmodel.py, exit status != 0: 1.7768009670544416 1.785195468 1.235136366 Calling exit ...