Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.001511, allocations: 114.8 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 242.7 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 192.9 kB / 295 MB, free: 12.67 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5817/0.5817, allocations: 98.19 MB / 445.4 MB, free: 10.96 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002629/0.002629, allocations: 83.86 kB / 0.5911 GB, free: 3.926 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1562, allocations: 72.77 MB / 0.6622 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02202/0.1783, allocations: 21.84 MB / 0.6835 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.1911, allocations: 4.857 MB / 0.6882 GB, free: 276 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006145/0.1973, allocations: 44 kB / 0.6883 GB, free: 232 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3316/0.5289, allocations: 0.8792 MB / 0.6891 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007854/0.5368, allocations: 2.03 MB / 0.6911 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005063/0.5419, allocations: 2.069 MB / 0.6931 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008555/0.5505, allocations: 5.708 MB / 0.6987 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.5528, allocations: 1.318 MB / 0.7 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004555/0.5573, allocations: 2.322 MB / 0.7023 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005252/0.5626, allocations: 2.931 MB / 0.7051 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001336/0.564, allocations: 436.3 kB / 0.7055 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.5661, allocations: 0.5793 MB / 0.7061 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009625/0.5671, allocations: 1.149 MB / 0.7072 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003229/0.5703, allocations: 2.603 MB / 0.7098 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00903/0.5793, allocations: 6.254 MB / 0.7159 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5794, allocations: 0 / 0.7159 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5794, allocations: 0 / 0.7159 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002317/0.5796, allocations: 0 / 0.7159 GB, free: 15.72 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03444/0.6141, allocations: 9.315 MB / 0.725 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6141, allocations: 14.06 kB / 0.725 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02706/0.6412, allocations: 4.037 MB / 0.7289 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00732/0.6486, allocations: 2.692 MB / 0.7316 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001067/0.6497, allocations: 0.9599 MB / 0.7325 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000699/0.6504, allocations: 345.4 kB / 0.7328 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.6613, allocations: 4.725 MB / 0.7374 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-05/0.6614, allocations: 0 / 0.7374 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003916/0.6618, allocations: 140.5 kB / 0.7376 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.6618, allocations: 84.84 kB / 0.7377 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009466/0.6713, allocations: 4.248 MB / 0.7418 GB, free: 15.88 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.03964/0.711, allocations: 18.26 MB / 0.7596 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01345/0.7245, allocations: 5.002 MB / 0.7645 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00647/0.731, allocations: 2.784 MB / 0.7672 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006483/0.7316, allocations: 68.08 kB / 0.7673 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007914/0.7396, allocations: 3.173 MB / 0.7704 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=383): time 7.735e-06/0.7396, allocations: 0 / 0.7704 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=383): time 0.3226/1.062, allocations: 68.06 MB / 0.8369 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.062, allocations: 149.8 kB / 0.837 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006443/1.069, allocations: 3.214 MB / 0.8402 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/1.07, allocations: 93.69 kB / 0.8402 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001912/1.072, allocations: 1.992 MB / 0.8422 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002474/1.074, allocations: 1.382 MB / 0.8435 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003051/1.077, allocations: 0.6745 MB / 0.8442 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.078, allocations: 309.1 kB / 0.8445 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006445/1.084, allocations: 2.581 MB / 0.847 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006853/1.091, allocations: 3.214 MB / 0.8502 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07425/1.165, allocations: 18.77 MB / 0.8685 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.97e-05/1.165, allocations: 8 kB / 0.8685 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.06332/1.229, allocations: 17.27 MB / 0.8854 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.561e-05/1.229, allocations: 69.59 kB / 0.8854 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.551e-05/1.229, allocations: 12 kB / 0.8854 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02776/1.256, allocations: 7.161 MB / 0.8924 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003719/1.26, allocations: 0.667 MB / 0.8931 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09857/1.359, allocations: 33.34 MB / 0.9256 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00711/1.366, allocations: 0.626 MB / 0.9263 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/1.367, allocations: 148 kB / 0.9264 GB, free: 0.8789 MB / 0.6856 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (403): * Single equations (assignments): 400 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003178/1.37, allocations: 0.6646 MB / 0.927 GB, free: 204 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002096/1.373, allocations: 484.9 kB / 0.9275 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06158/1.434, allocations: 16.85 MB / 0.944 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-05/1.434, allocations: 40 kB / 0.944 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001141/1.434, allocations: 28 kB / 0.944 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001252/1.434, allocations: 19.94 kB / 0.944 GB, free: 14.71 MB / 0.7169 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.441/1.876, allocations: 21.84 MB / 0.9654 GB, free: 212.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.68e-05/1.876, allocations: 1.344 kB / 0.9654 GB, free: 212.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/1.878, allocations: 395.6 kB / 0.9657 GB, free: 212.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02708/1.905, allocations: 7.34 MB / 0.9729 GB, free: 212.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00108/1.906, allocations: 73.11 kB / 0.973 GB, free: 212.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07908/1.985, allocations: 31.84 MB / 1.004 GB, free: 206.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.985, allocations: 3.938 kB / 1.004 GB, free: 206.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05859/2.044, allocations: 20.24 MB / 1.024 GB, free: 200 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/2.046, allocations: 0.5772 MB / 1.024 GB, free: 199.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001665/2.047, allocations: 68 kB / 1.024 GB, free: 199.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005557/2.053, allocations: 374.8 kB / 1.025 GB, free: 199.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003435/2.056, allocations: 0.7793 MB / 1.026 GB, free: 198.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004772/2.057, allocations: 99.89 kB / 1.026 GB, free: 198.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002869/2.06, allocations: 2.104 MB / 1.028 GB, free: 196.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/2.06, allocations: 0 / 1.028 GB, free: 196.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005743/2.066, allocations: 1.803 MB / 1.03 GB, free: 195.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006948/2.066, allocations: 207.2 kB / 1.03 GB, free: 194.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0236/2.09, allocations: 9.173 MB / 1.039 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/2.09, allocations: 0 / 1.039 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01895/2.109, allocations: 6.161 MB / 1.045 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006133/2.115, allocations: 386.3 kB / 1.045 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/2.135, allocations: 8.073 MB / 1.053 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/2.137, allocations: 2.443 MB / 1.055 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/2.138, allocations: 281.9 kB / 1.056 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/2.138, allocations: 0 / 1.056 GB, free: 168.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.09507/2.233, allocations: 88.36 MB / 1.142 GB, free: 79.93 MB / 0.7169 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.785179382190108] Failed to read output from testmodel.py, exit status != 0: 2.2400390070397407 2.247622065 1.666467278 Calling exit ...