Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001437/0.001437, allocations: 80.45 kB / 19.18 MB, free: 2.52 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.413/1.413, allocations: 177.2 MB / 199.5 MB, free: 8.426 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.001665/0.001665, allocations: 157.8 kB / 256 MB, free: 4.309 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6263/0.6263, allocations: 80.25 MB / 392.6 MB, free: 29.72 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 0.5553 GB, free: 14.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.19e-05, allocations: 9.516 kB / 0.5553 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.007769/0.007801, allocations: 5.82 MB / 0.561 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004724/0.01252, allocations: 1.924 MB / 0.5629 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.01358, allocations: 14.25 kB / 0.5629 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007947/0.01437, allocations: 243.1 kB / 0.5631 GB, free: 8.797 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.0166, allocations: 0.8715 MB / 0.5639 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.01807, allocations: 0.6436 MB / 0.5646 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00206/0.02013, allocations: 1.588 MB / 0.5661 GB, free: 6.797 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/0.02056, allocations: 215.8 kB / 0.5663 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.02183, allocations: 0.8977 MB / 0.5672 GB, free: 6.078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000774/0.02261, allocations: 0.6609 MB / 0.5679 GB, free: 5.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.0228, allocations: 125.4 kB / 0.568 GB, free: 5.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006269/0.02343, allocations: 276.4 kB / 0.5682 GB, free: 5.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.02367, allocations: 337.3 kB / 0.5686 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004269/0.0241, allocations: 459.6 kB / 0.569 GB, free: 5.027 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.02574, allocations: 1.727 MB / 0.5707 GB, free: 3.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.02575, allocations: 1.812 kB / 0.5707 GB, free: 3.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02575, allocations: 0 / 0.5707 GB, free: 3.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.578e-05/0.02578, allocations: 0 / 0.5707 GB, free: 3.754 MB / 430.1 MB 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.009128/0.0349, allocations: 2.794 MB / 0.5734 GB, free: 1.984 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.03496, allocations: 14.22 kB / 0.5734 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005313/0.04027, allocations: 0.7909 MB / 0.5742 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.04208, allocations: 0.8321 MB / 0.575 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003046/0.04239, allocations: 337.4 kB / 0.5753 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.04257, allocations: 82.75 kB / 0.5754 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.04488, allocations: 1.114 MB / 0.5765 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.0449, allocations: 0 / 0.5765 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.04501, allocations: 34.25 kB / 0.5765 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.04503, allocations: 17.66 kB / 0.5766 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.04739, allocations: 1.007 MB / 0.5775 GB, free: 15.34 MB / 446.1 MB 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.007501/0.05489, allocations: 2.886 MB / 0.5804 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008103/0.06299, allocations: 2.026 MB / 0.5823 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.06476, allocations: 0.6408 MB / 0.583 GB, free: 9.691 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.06487, allocations: 17 kB / 0.583 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/0.06677, allocations: 0.8428 MB / 0.5838 GB, free: 8.805 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 2.866e-06/0.06678, allocations: 0 / 0.5838 GB, free: 8.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.03216/0.09894, allocations: 6.955 MB / 0.5906 GB, free: 1.812 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.09906, allocations: 119.8 kB / 0.5907 GB, free: 1.672 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/0.1014, allocations: 1.054 MB / 0.5917 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003274/0.1018, allocations: 41.7 kB / 0.5918 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000552/0.1023, allocations: 0.5052 MB / 0.5923 GB, free: 44 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007244/0.1031, allocations: 369.1 kB / 0.5926 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009115/0.104, allocations: 267.5 kB / 0.5929 GB, free: 15.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1041, allocations: 317.1 kB / 0.5932 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.1062, allocations: 0.8037 MB / 0.594 GB, free: 14.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/0.1083, allocations: 0.9728 MB / 0.5949 GB, free: 13.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02779/0.1361, allocations: 5.755 MB / 0.6005 GB, free: 7.418 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.1361, allocations: 0 / 0.6005 GB, free: 7.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01588/0.152, allocations: 4.34 MB / 0.6048 GB, free: 3.039 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.1521, allocations: 63.39 kB / 0.6048 GB, free: 2.965 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.1521, allocations: 4 kB / 0.6048 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006252/0.1584, allocations: 1.507 MB / 0.6063 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.1601, allocations: 283.6 kB / 0.6066 GB, free: 1.172 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02313/0.1833, allocations: 7.973 MB / 0.6144 GB, free: 9.086 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.1857, allocations: 191.1 kB / 0.6145 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003924/0.1861, allocations: 55.97 kB / 0.6146 GB, free: 8.844 MB / 478.1 MB 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.001131/0.1872, allocations: 310.2 kB / 0.6149 GB, free: 8.527 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005229/0.1878, allocations: 135.1 kB / 0.615 GB, free: 8.395 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/0.2024, allocations: 3.866 MB / 0.6188 GB, free: 4.492 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/0.2024, allocations: 12 kB / 0.6188 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.691e-05/0.2025, allocations: 11.94 kB / 0.6188 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-05/0.2025, allocations: 3.984 kB / 0.6188 GB, free: 4.465 MB / 478.1 MB 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.01796/0.2205, allocations: 4.9 MB / 0.6236 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.2205, allocations: 3.984 kB / 0.6236 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007435/0.2212, allocations: 99.84 kB / 0.6237 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006359/0.2276, allocations: 1.587 MB / 0.6253 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002693/0.2279, allocations: 23.92 kB / 0.6253 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02408/0.2519, allocations: 9.189 MB / 0.6343 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2519, allocations: 0 / 0.6343 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/0.2692, allocations: 4.766 MB / 0.6389 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006581/0.2698, allocations: 147.1 kB / 0.639 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005394/0.2704, allocations: 19.94 kB / 0.6391 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/0.272, allocations: 111.9 kB / 0.6392 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008542/0.2729, allocations: 204.6 kB / 0.6394 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/0.2731, allocations: 27.98 kB / 0.6394 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001616/0.2747, allocations: 0.715 MB / 0.6401 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.2747, allocations: 0 / 0.6401 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002352/0.277, allocations: 479.5 kB / 0.6406 GB, free: 13.87 MB / 0.4981 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.0004937/0.2775, allocations: 141.5 kB / 0.6407 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007658/0.2852, allocations: 2.42 MB / 0.6431 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.2852, allocations: 0.75 kB / 0.6431 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005094/0.2903, allocations: 1.54 MB / 0.6446 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.292, allocations: 112.4 kB / 0.6447 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/0.2975, allocations: 2.189 MB / 0.6468 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008629/0.2984, allocations: 0.5315 MB / 0.6473 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006624/0.2991, allocations: 119.9 kB / 0.6474 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/0.2995, allocations: 84.47 kB / 0.6475 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of SimCode: time 1.893e-06/0.2995, allocations: 3.938 kB / 0.6475 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of Templates: time 0.04767/0.3472, allocations: 25.65 MB / 0.6726 GB, free: 12.98 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.788580272346735] Failed to read output from testmodel.py, exit status != 0: 0.35764214023947716 0.37667741200000004 0.346668407 Calling exit ...