Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.001501/0.001501, 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.314/1.314, allocations: 230.6 MB / 253.4 MB, free: 8.277 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.001445/0.001445, allocations: 212.6 kB / 310 MB, free: 3.129 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.5018/0.5018, allocations: 101.3 MB / 467.8 MB, free: 10.27 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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.002318/0.002318, allocations: 79.88 kB / 0.6257 GB, free: 12.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4107, allocations: 78.61 MB / 0.7025 GB, free: 9.273 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01029/0.421, allocations: 13.83 MB / 0.716 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008911/0.4299, allocations: 3.541 MB / 0.7194 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003029/0.4329, allocations: 31.75 kB / 0.7195 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.435, allocations: 0.5534 MB / 0.72 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006068/0.4411, allocations: 1.601 MB / 0.7216 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0041/0.4452, allocations: 1.506 MB / 0.723 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007336/0.4525, allocations: 3.789 MB / 0.7267 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.4538, allocations: 0.6111 MB / 0.7273 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.4567, allocations: 1.576 MB / 0.7289 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003791/0.4605, allocations: 1.985 MB / 0.7308 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00092/0.4614, allocations: 289.6 kB / 0.7311 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.4631, allocations: 455.3 kB / 0.7315 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008888/0.464, allocations: 0.7687 MB / 0.7323 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002579/0.4666, allocations: 1.63 MB / 0.7339 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006379/0.4729, allocations: 4.016 MB / 0.7378 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4729, allocations: 0 / 0.7378 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4729, allocations: 0.9375 kB / 0.7378 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001319/0.4731, allocations: 0 / 0.7378 GB, free: 2.66 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02571/0.4988, allocations: 7.381 MB / 0.745 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.4988, allocations: 7.5 kB / 0.745 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0151/0.5139, allocations: 2.333 MB / 0.7473 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004712/0.5186, allocations: 1.797 MB / 0.749 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008597/0.5195, allocations: 0.8312 MB / 0.7498 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005219/0.52, allocations: 218 kB / 0.7501 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00641/0.5264, allocations: 3.03 MB / 0.753 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.5265, allocations: 5.062 kB / 0.753 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002732/0.5267, allocations: 88.53 kB / 0.7531 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/0.5268, allocations: 49.78 kB / 0.7531 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005766/0.5325, allocations: 2.785 MB / 0.7559 GB, free: 7.875 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.01904/0.5516, allocations: 9.768 MB / 0.7654 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.562, allocations: 3.524 MB / 0.7689 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004283/0.5663, allocations: 1.78 MB / 0.7706 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/0.5666, allocations: 37.88 kB / 0.7706 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004601/0.5712, allocations: 2.236 MB / 0.7728 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 3.707e-06/0.5712, allocations: 0 / 0.7728 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=248): time 0.1144/0.6857, allocations: 27.85 MB / 0.8 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.6858, allocations: 184.2 kB / 0.8002 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003831/0.6896, allocations: 2.281 MB / 0.8024 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005764/0.6902, allocations: 73.69 kB / 0.8025 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009898/0.6912, allocations: 1.181 MB / 0.8036 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001098/0.6923, allocations: 0.914 MB / 0.8045 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.6934, allocations: 0.562 MB / 0.8051 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6935, allocations: 301.1 kB / 0.8054 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004224/0.6977, allocations: 1.955 MB / 0.8073 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004569/0.7023, allocations: 2.326 MB / 0.8095 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05519/0.7575, allocations: 14.34 MB / 0.8235 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.7575, allocations: 4 kB / 0.8235 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04034/0.7978, allocations: 12.45 MB / 0.8357 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.7979, allocations: 113 kB / 0.8358 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.798, allocations: 8 kB / 0.8358 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01775/0.8157, allocations: 5.288 MB / 0.841 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/0.8188, allocations: 0.5695 MB / 0.8415 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06013/0.8789, allocations: 23.08 MB / 0.8641 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004542/0.8834, allocations: 497.8 kB / 0.8646 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005452/0.884, allocations: 123.9 kB / 0.8647 GB, free: 8.789 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_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 (330): * Single equations (assignments): 325 * 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.001651/0.8856, allocations: 0.5453 MB / 0.8652 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009444/0.8866, allocations: 317.9 kB / 0.8655 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03945/0.926, allocations: 11.81 MB / 0.877 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/0.926, allocations: 28 kB / 0.8771 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.781e-05/0.9261, allocations: 16 kB / 0.8771 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.405e-05/0.9261, allocations: 15.95 kB / 0.8771 GB, free: 12 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.04433/0.9705, allocations: 15.4 MB / 0.8921 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.9705, allocations: 0 / 0.8921 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/0.972, allocations: 247.6 kB / 0.8924 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01706/0.989, allocations: 5.232 MB / 0.8975 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003948/0.9894, allocations: 55.98 kB / 0.8975 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0586/1.048, allocations: 24.67 MB / 0.9216 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.048, allocations: 0 / 0.9216 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04507/1.093, allocations: 14.21 MB / 0.9355 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.094, allocations: 345.3 kB / 0.9358 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009764/1.095, allocations: 55.92 kB / 0.9359 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003376/1.099, allocations: 299.6 kB / 0.9362 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002153/1.101, allocations: 0.5995 MB / 0.9368 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003287/1.101, allocations: 67.98 kB / 0.9368 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002723/1.104, allocations: 1.503 MB / 0.9383 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/1.104, allocations: 0 / 0.9383 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003734/1.108, allocations: 1.175 MB / 0.9394 GB, free: 11.48 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,23,7.8%)} * 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.0004308/1.108, allocations: 183.9 kB / 0.9396 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01733/1.125, allocations: 6.321 MB / 0.9458 GB, free: 4.895 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.125, allocations: 7.875 kB / 0.9458 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.01277/1.138, allocations: 4.215 MB / 0.9499 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/1.141, allocations: 262.2 kB / 0.9502 GB, free: 364 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/1.151, allocations: 5.501 MB / 0.9555 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/1.153, allocations: 1.806 MB / 0.9573 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009355/1.154, allocations: 183.4 kB / 0.9575 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/1.154, allocations: 0 / 0.9575 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of Templates: time 0.3225/1.477, allocations: 64.58 MB / 1.021 GB, free: 230.5 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.438609872944653] Failed to read output from testmodel.py, exit status != 0: 1.4848505719564855 1.493316388 1.018181915 Calling exit ...