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.0022/0.0022, allocations: 79.03 kB / 19.76 MB, free: 2.035 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.458/1.458, allocations: 177.2 MB / 200.1 MB, free: 8.324 MB / 190.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.001884/0.001884, allocations: 163.6 kB / 256.6 MB, free: 4.289 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.6005/0.6005, allocations: 80.29 MB / 393.3 MB, free: 29.3 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.002816/0.002816, allocations: 84.8 kB / 0.5559 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.176, allocations: 80.13 MB / 0.6341 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.02091/0.1969, allocations: 11.72 MB / 0.6456 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.2084, allocations: 3.449 MB / 0.6489 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002627/0.211, allocations: 31.94 kB / 0.649 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.2133, allocations: 0.5576 MB / 0.6495 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006123/0.2194, allocations: 1.565 MB / 0.651 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004502/0.2239, allocations: 1.509 MB / 0.6525 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006552/0.2304, allocations: 3.78 MB / 0.6562 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.232, allocations: 0.5814 MB / 0.6568 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.2349, allocations: 1.579 MB / 0.6583 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003297/0.2382, allocations: 1.811 MB / 0.6601 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.2393, allocations: 284 kB / 0.6604 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.2408, allocations: 435.9 kB / 0.6608 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.2421, allocations: 0.7662 MB / 0.6615 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002477/0.2445, allocations: 1.328 MB / 0.6628 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006547/0.2511, allocations: 4.053 MB / 0.6668 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.988e-06/0.2511, allocations: 4 kB / 0.6668 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2511, allocations: 0 / 0.6668 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001648/0.2513, allocations: 0 / 0.6668 GB, free: 4.43 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02684/0.2781, allocations: 7.37 MB / 0.674 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.2782, allocations: 8.031 kB / 0.674 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/0.294, allocations: 2.327 MB / 0.6763 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004729/0.2988, allocations: 1.801 MB / 0.678 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001073/0.2999, allocations: 0.8295 MB / 0.6788 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000928/0.3008, allocations: 220 kB / 0.679 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007077/0.3079, allocations: 3.086 MB / 0.682 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.3079, allocations: 0 / 0.682 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/0.3082, allocations: 91.94 kB / 0.6821 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/0.3082, allocations: 51.94 kB / 0.6822 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006533/0.3147, allocations: 2.822 MB / 0.6849 GB, free: 1.398 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.02048/0.3352, allocations: 7.437 MB / 0.6922 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/0.3468, allocations: 3.564 MB / 0.6957 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004803/0.3516, allocations: 1.828 MB / 0.6975 GB, free: 4.355 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004047/0.352, allocations: 33.98 kB / 0.6975 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005824/0.3578, allocations: 2.294 MB / 0.6997 GB, free: 1.992 MB / 0.545 GB Notification: Performance of pre-optimization done (n=248): time 8.015e-06/0.3578, allocations: 0 / 0.6997 GB, free: 1.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.544/0.9018, allocations: 27.95 MB / 0.727 GB, free: 75.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.9019, allocations: 185 kB / 0.7272 GB, free: 74.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004147/0.906, allocations: 2.247 MB / 0.7294 GB, free: 74.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007571/0.9068, allocations: 76.05 kB / 0.7295 GB, free: 74.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007696/0.9076, allocations: 1.195 MB / 0.7306 GB, free: 73.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009478/0.9085, allocations: 0.9125 MB / 0.7315 GB, free: 72.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/0.9096, allocations: 0.5416 MB / 0.7321 GB, free: 72.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.569e-05/0.9096, allocations: 302.4 kB / 0.7324 GB, free: 72.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004307/0.9139, allocations: 2.046 MB / 0.7344 GB, free: 71.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004692/0.9186, allocations: 2.408 MB / 0.7367 GB, free: 70.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05434/0.973, allocations: 14.29 MB / 0.7507 GB, free: 63.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.317e-05/0.973, allocations: 5.594 kB / 0.7507 GB, free: 63.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.03846/1.011, allocations: 12.5 MB / 0.7629 GB, free: 51.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.559e-05/1.012, allocations: 122.8 kB / 0.763 GB, free: 51.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/1.012, allocations: 4 kB / 0.763 GB, free: 51.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01673/1.028, allocations: 5.237 MB / 0.7681 GB, free: 45.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/1.031, allocations: 0.5539 MB / 0.7686 GB, free: 45.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05788/1.089, allocations: 22.49 MB / 0.7906 GB, free: 22.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005456/1.095, allocations: 493 kB / 0.7911 GB, free: 22.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00098/1.096, allocations: 119.9 kB / 0.7912 GB, free: 22.3 MB / 0.5606 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 (320): * Single equations (assignments): 315 * 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.002519/1.098, allocations: 0.5409 MB / 0.7917 GB, free: 21.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001428/1.1, allocations: 306 kB / 0.792 GB, free: 21.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0394/1.139, allocations: 11.86 MB / 0.8036 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.561e-05/1.139, allocations: 24 kB / 0.8036 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001054/1.139, allocations: 20 kB / 0.8036 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001066/1.139, allocations: 11.95 kB / 0.8037 GB, free: 9.477 MB / 0.5606 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.0465/1.186, allocations: 14.23 MB / 0.8175 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/1.186, allocations: 4 kB / 0.8175 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/1.187, allocations: 251.6 kB / 0.8178 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01963/1.207, allocations: 5.238 MB / 0.8229 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006819/1.208, allocations: 47.98 kB / 0.8229 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06646/1.274, allocations: 24 MB / 0.8464 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.274, allocations: 2.297 kB / 0.8464 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04954/1.324, allocations: 14.3 MB / 0.8604 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.325, allocations: 341 kB / 0.8607 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001384/1.326, allocations: 47.94 kB / 0.8607 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003807/1.33, allocations: 299.6 kB / 0.861 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002581/1.333, allocations: 0.6073 MB / 0.8616 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004733/1.333, allocations: 67.98 kB / 0.8617 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003129/1.336, allocations: 1.475 MB / 0.8631 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/1.336, allocations: 0 / 0.8631 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004733/1.341, allocations: 1.181 MB / 0.8643 GB, free: 11.06 MB / 0.6231 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.0007062/1.342, allocations: 186.1 kB / 0.8644 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02119/1.363, allocations: 6.45 MB / 0.8707 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.363, allocations: 0 / 0.8707 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01568/1.379, allocations: 4.293 MB / 0.8749 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/1.382, allocations: 258.3 kB / 0.8752 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/1.396, allocations: 5.493 MB / 0.8805 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001915/1.398, allocations: 1.256 MB / 0.8818 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00143/1.4, allocations: 258.2 kB / 0.882 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000812/1.4, allocations: 176.4 kB / 0.8822 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of SimCode: time 8.52e-07/1.4, allocations: 0 / 0.8822 GB, free: 8.473 MB / 0.6387 GB Notification: Performance of Templates: time 0.114/1.514, allocations: 69.19 MB / 0.9497 GB, free: 3.535 MB / 0.7012 GB " [Timeout remaining time 658] 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 -s ida -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.212550023919903] Failed to read output from testmodel.py, exit status != 0: 1.5239414559910074 1.540444983 1.285878048 Calling exit ...