Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001333/0.001333, allocations: 110.5 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.357/1.357, allocations: 230.6 MB / 253.4 MB, free: 8.27 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.001554/0.001554, allocations: 226.7 kB / 310 MB, free: 3.121 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.5133/0.5133, 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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.002383/0.002383, allocations: 91.84 kB / 0.6257 GB, free: 12.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3812, allocations: 78.61 MB / 0.7024 GB, free: 9.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005576/0.3867, allocations: 6.766 MB / 0.709 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.3899, allocations: 2.053 MB / 0.711 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004378/0.3904, allocations: 10.69 kB / 0.711 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.3909, allocations: 242.3 kB / 0.7113 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.3925, allocations: 0.8811 MB / 0.7121 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3936, allocations: 0.6489 MB / 0.7128 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.3949, allocations: 1.67 MB / 0.7144 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.3952, allocations: 230.8 kB / 0.7146 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006833/0.3959, allocations: 0.6978 MB / 0.7153 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008191/0.3967, allocations: 0.8721 MB / 0.7162 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.3969, allocations: 128 kB / 0.7163 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004266/0.3973, allocations: 298.9 kB / 0.7166 GB, free: 484 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.3975, allocations: 334.7 kB / 0.7169 GB, free: 264 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.3981, allocations: 0.6941 MB / 0.7176 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.3999, allocations: 1.729 MB / 0.7192 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3999, allocations: 0 / 0.7192 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3999, allocations: 0 / 0.7192 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.3999, allocations: 7.938 kB / 0.7193 GB, free: 15 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008925/0.4088, allocations: 2.88 MB / 0.7221 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.4089, allocations: 9.031 kB / 0.7221 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004819/0.4137, allocations: 0.8034 MB / 0.7229 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.4154, allocations: 0.8543 MB / 0.7237 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003598/0.4158, allocations: 337.8 kB / 0.724 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.416, allocations: 86.98 kB / 0.7241 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/0.4182, allocations: 1.099 MB / 0.7252 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.4183, allocations: 9.156 kB / 0.7252 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.757e-05/0.4183, allocations: 34.97 kB / 0.7252 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.4184, allocations: 18 kB / 0.7252 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.4205, allocations: 0.9992 MB / 0.7262 GB, free: 11.83 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.007522/0.428, allocations: 3.814 MB / 0.7299 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007049/0.4351, allocations: 2.015 MB / 0.7319 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.4364, allocations: 0.6225 MB / 0.7325 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.4365, allocations: 18.73 kB / 0.7325 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/0.4381, allocations: 0.8266 MB / 0.7333 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=97): time 2.365e-06/0.4381, allocations: 0 / 0.7333 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97): time 0.02706/0.4652, allocations: 7.048 MB / 0.7402 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/0.4652, allocations: 117.8 kB / 0.7403 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.4671, allocations: 1.125 MB / 0.7414 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001734/0.4672, allocations: 46.25 kB / 0.7415 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/0.4677, allocations: 0.5042 MB / 0.742 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.4681, allocations: 380.4 kB / 0.7423 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005028/0.4686, allocations: 290.9 kB / 0.7426 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4687, allocations: 306.3 kB / 0.7429 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.4703, allocations: 0.7788 MB / 0.7437 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.472, allocations: 0.9592 MB / 0.7446 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02418/0.4962, allocations: 6.012 MB / 0.7505 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.4962, allocations: 1.375 kB / 0.7505 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01359/0.5098, allocations: 4.436 MB / 0.7548 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.437e-05/0.5099, allocations: 63.34 kB / 0.7549 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.5099, allocations: 4 kB / 0.7549 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005812/0.5157, allocations: 1.639 MB / 0.7565 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/0.5172, allocations: 291.6 kB / 0.7567 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/0.5373, allocations: 8.505 MB / 0.765 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.5392, allocations: 207.2 kB / 0.7652 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.5393, allocations: 59.91 kB / 0.7653 GB, free: 15.57 MB / 0.5294 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 2 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006201/0.5399, allocations: 316.5 kB / 0.7656 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.5402, allocations: 135.1 kB / 0.7657 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.5526, allocations: 3.865 MB / 0.7695 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.5526, allocations: 8 kB / 0.7695 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.5526, allocations: 8 kB / 0.7695 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.5527, allocations: 3.984 kB / 0.7695 GB, free: 11.2 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 postOpt removeSimpleEquations (simulation): time 0.01449/0.5671, allocations: 5.47 MB / 0.7749 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5672, allocations: 0 / 0.7749 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006027/0.5678, allocations: 99.89 kB / 0.775 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005267/0.573, allocations: 1.583 MB / 0.7765 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.5731, allocations: 27.98 kB / 0.7765 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02033/0.5935, allocations: 9.464 MB / 0.7858 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5935, allocations: 0 / 0.7858 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/0.6079, allocations: 4.759 MB / 0.7904 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005142/0.6084, allocations: 162.9 kB / 0.7906 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.6086, allocations: 23.94 kB / 0.7906 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.6098, allocations: 103.9 kB / 0.7907 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006545/0.6105, allocations: 212.5 kB / 0.7909 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.472e-05/0.6105, allocations: 31.98 kB / 0.7909 GB, free: 4.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001255/0.6118, allocations: 0.7553 MB / 0.7917 GB, free: 4.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6118, allocations: 0 / 0.7917 GB, free: 4.129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001726/0.6135, allocations: 491.6 kB / 0.7921 GB, free: 3.648 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003153/0.6138, allocations: 135.2 kB / 0.7923 GB, free: 3.504 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0065/0.6203, allocations: 2.452 MB / 0.7947 GB, free: 1.004 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6203, allocations: 0 / 0.7947 GB, free: 1.004 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004151/0.6245, allocations: 1.528 MB / 0.7962 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/0.6254, allocations: 117.6 kB / 0.7963 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.6297, allocations: 2.445 MB / 0.7987 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007766/0.6305, allocations: 1.128 MB / 0.7998 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.6309, allocations: 83.42 kB / 0.7998 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.6309, allocations: 8 kB / 0.7998 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.03166/0.6625, allocations: 24.22 MB / 0.8235 GB, free: 3.363 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.90054499078542] Failed to read output from testmodel.py, exit status != 0: 0.67095743608661 0.684549561 0.28178079 Calling exit ...