Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001446/0.001446, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.563/1.563, allocations: 230.6 MB / 252.7 MB, free: 8.082 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.002197/0.002197, allocations: 212.1 kB / 309.2 MB, free: 2.93 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.6336/0.6336, allocations: 107.3 MB / 473 MB, free: 4.426 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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.002931/0.002931, allocations: 88.19 kB / 0.6337 GB, free: 4.418 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.5005, allocations: 80.17 MB / 0.712 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.006596/0.5071, allocations: 5.832 MB / 0.7177 GB, free: 484 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004843/0.5119, allocations: 1.923 MB / 0.7196 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.5129, allocations: 9.969 kB / 0.7196 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009433/0.5139, allocations: 244.6 kB / 0.7198 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.5166, allocations: 0.8438 MB / 0.7206 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.5183, allocations: 0.6304 MB / 0.7213 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002563/0.5209, allocations: 1.607 MB / 0.7228 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004838/0.5214, allocations: 211.9 kB / 0.723 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.5227, allocations: 0.678 MB / 0.7237 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.5239, allocations: 0.7677 MB / 0.7244 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.5241, allocations: 120.8 kB / 0.7246 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006725/0.5248, allocations: 282.5 kB / 0.7248 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003613/0.5251, allocations: 327.2 kB / 0.7251 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006166/0.5257, allocations: 0.5478 MB / 0.7257 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.5284, allocations: 1.701 MB / 0.7273 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5284, allocations: 4.688 kB / 0.7273 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5284, allocations: 0 / 0.7273 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.038e-05/0.5284, allocations: 0 / 0.7273 GB, free: 11.22 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.01099/0.5394, allocations: 2.817 MB / 0.7301 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.5394, allocations: 8.625 kB / 0.7301 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005643/0.5451, allocations: 0.7941 MB / 0.7309 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.5473, allocations: 0.83 MB / 0.7317 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004104/0.5477, allocations: 332.1 kB / 0.732 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.548, allocations: 87.59 kB / 0.7321 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.5505, allocations: 1.12 MB / 0.7332 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.5505, allocations: 3.938 kB / 0.7332 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.5506, allocations: 26.91 kB / 0.7332 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.5506, allocations: 18.22 kB / 0.7332 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.5529, allocations: 1.014 MB / 0.7342 GB, free: 7.676 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.00763/0.5605, allocations: 2.876 MB / 0.737 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007507/0.568, allocations: 2.017 MB / 0.739 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.5697, allocations: 0.638 MB / 0.7396 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.5698, allocations: 19.98 kB / 0.7396 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/0.5717, allocations: 0.839 MB / 0.7405 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 3.466e-06/0.5717, allocations: 0 / 0.7405 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.03009/0.6018, allocations: 6.953 MB / 0.7473 GB, free: 428 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.6019, allocations: 118.6 kB / 0.7474 GB, free: 292 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.604, allocations: 1.06 MB / 0.7484 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003437/0.6043, allocations: 46.83 kB / 0.7484 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005009/0.6048, allocations: 0.4962 MB / 0.7489 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005027/0.6053, allocations: 378.6 kB / 0.7493 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005548/0.6059, allocations: 276.5 kB / 0.7496 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.606, allocations: 306.4 kB / 0.7498 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.6078, allocations: 0.8044 MB / 0.7506 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.6098, allocations: 0.9853 MB / 0.7516 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02634/0.6361, allocations: 5.754 MB / 0.7572 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-05/0.6362, allocations: 4 kB / 0.7572 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.015/0.6511, allocations: 4.34 MB / 0.7615 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.605e-05/0.6512, allocations: 59.41 kB / 0.7615 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.6513, allocations: 4 kB / 0.7615 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005657/0.6569, allocations: 1.508 MB / 0.763 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.6587, allocations: 283.6 kB / 0.7633 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/0.6804, allocations: 7.972 MB / 0.771 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.6827, allocations: 203 kB / 0.7712 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.6829, allocations: 51.98 kB / 0.7713 GB, free: 9.785 MB / 0.5294 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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 (159): * Single equations (assignments): 156 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008616/0.6838, allocations: 300.4 kB / 0.7716 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004225/0.6842, allocations: 131.2 kB / 0.7717 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/0.6981, allocations: 3.867 MB / 0.7755 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/0.6981, allocations: 12 kB / 0.7755 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.901e-05/0.6982, allocations: 11.92 kB / 0.7755 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-05/0.6982, allocations: 3.984 kB / 0.7755 GB, free: 5.414 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.01722/0.7154, allocations: 4.896 MB / 0.7803 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.7154, allocations: 3.938 kB / 0.7803 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007352/0.7162, allocations: 103.9 kB / 0.7804 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006262/0.7224, allocations: 1.582 MB / 0.7819 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003539/0.7228, allocations: 23.94 kB / 0.782 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02392/0.7467, allocations: 9.196 MB / 0.7909 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7467, allocations: 0 / 0.7909 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/0.7627, allocations: 4.754 MB / 0.7956 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006584/0.7634, allocations: 154.8 kB / 0.7957 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004496/0.7638, allocations: 27.94 kB / 0.7957 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/0.7653, allocations: 103.9 kB / 0.7958 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006633/0.7659, allocations: 204.7 kB / 0.796 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.7661, allocations: 35.94 kB / 0.7961 GB, free: 12 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001578/0.7676, allocations: 0.7071 MB / 0.7968 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7676, allocations: 0 / 0.7968 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002083/0.7697, allocations: 475.6 kB / 0.7972 GB, free: 14.83 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003898/0.7701, allocations: 131.1 kB / 0.7973 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00677/0.7769, allocations: 2.44 MB / 0.7997 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7769, allocations: 192 / 0.7997 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004627/0.7815, allocations: 1.559 MB / 0.8013 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.7828, allocations: 114.4 kB / 0.8014 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/0.7878, allocations: 2.319 MB / 0.8036 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.7886, allocations: 0.5317 MB / 0.8041 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000583/0.7891, allocations: 115.9 kB / 0.8043 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.7895, allocations: 83.34 kB / 0.8043 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.7895, allocations: 0 / 0.8043 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of Templates: time 0.04792/0.8374, allocations: 26.99 MB / 0.8307 GB, free: 12.43 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.60461438074708] Failed to read output from testmodel.py, exit status != 0: 0.8476947154849768 0.862484924 0.33090698299999993 Calling exit ...