Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.001397/0.001397, allocations: 81.58 kB / 19.18 MB, free: 2.527 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.421/1.421, allocations: 177.2 MB / 199.4 MB, free: 8.438 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.001763/0.001763, allocations: 168 kB / 256 MB, free: 4.312 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.5806/0.5806, allocations: 80.24 MB / 392.6 MB, free: 29.7 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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.5553 GB, free: 14.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.16e-05, allocations: 4.359 kB / 0.5553 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.006251/0.006282, allocations: 5.829 MB / 0.561 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004883/0.01117, allocations: 1.935 MB / 0.5629 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.01277, allocations: 9.625 kB / 0.5629 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.01378, allocations: 235.2 kB / 0.5631 GB, free: 8.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.01692, allocations: 0.8794 MB / 0.564 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.0185, allocations: 0.636 MB / 0.5646 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00233/0.02083, allocations: 1.589 MB / 0.5661 GB, free: 6.785 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004849/0.02131, allocations: 215.6 kB / 0.5664 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.02274, allocations: 0.9019 MB / 0.5672 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008809/0.02362, allocations: 0.6682 MB / 0.5679 GB, free: 5.652 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002465/0.02387, allocations: 121.7 kB / 0.568 GB, free: 5.652 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006881/0.02455, allocations: 272.7 kB / 0.5683 GB, free: 5.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.02479, allocations: 332.2 kB / 0.5686 GB, free: 5.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.02527, allocations: 457.6 kB / 0.569 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.02712, allocations: 1.731 MB / 0.5707 GB, free: 3.742 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.02712, allocations: 3.938 kB / 0.5707 GB, free: 3.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02712, allocations: 0 / 0.5707 GB, free: 3.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.993e-05/0.02715, allocations: 0 / 0.5707 GB, free: 3.738 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.009875/0.03703, allocations: 2.803 MB / 0.5734 GB, free: 1.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.03707, allocations: 9.719 kB / 0.5735 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005616/0.04269, allocations: 0.8 MB / 0.5742 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.04462, allocations: 0.8159 MB / 0.575 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.04492, allocations: 338 kB / 0.5754 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.04512, allocations: 85.97 kB / 0.5754 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.0474, allocations: 1.113 MB / 0.5765 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.04742, allocations: 1.125 kB / 0.5765 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.04753, allocations: 38.41 kB / 0.5766 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.04755, allocations: 17.97 kB / 0.5766 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.04987, allocations: 1.009 MB / 0.5776 GB, free: 15.31 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.007522/0.05739, allocations: 2.882 MB / 0.5804 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00788/0.06527, allocations: 2.017 MB / 0.5823 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.06691, allocations: 0.6427 MB / 0.583 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.06701, allocations: 16.92 kB / 0.583 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001804/0.06882, allocations: 0.839 MB / 0.5838 GB, free: 8.793 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.246e-06/0.06882, allocations: 0 / 0.5838 GB, free: 8.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.03083/0.09965, allocations: 6.962 MB / 0.5906 GB, free: 1.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/0.09974, allocations: 115.8 kB / 0.5907 GB, free: 1.656 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.1016, allocations: 1.054 MB / 0.5917 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002962/0.1019, allocations: 49.69 kB / 0.5918 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/0.1024, allocations: 0.5014 MB / 0.5923 GB, free: 24 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005444/0.1029, allocations: 365.1 kB / 0.5926 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005538/0.1035, allocations: 275.5 kB / 0.5929 GB, free: 15.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1036, allocations: 308.9 kB / 0.5932 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.1055, allocations: 0.8037 MB / 0.594 GB, free: 14.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.1075, allocations: 0.9766 MB / 0.5949 GB, free: 13.24 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02722/0.1347, allocations: 5.759 MB / 0.6006 GB, free: 7.398 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.1347, allocations: 4 kB / 0.6006 GB, free: 7.395 MB / 462.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01524/0.1499, allocations: 4.34 MB / 0.6048 GB, free: 3.016 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.651e-05/0.15, allocations: 55.41 kB / 0.6048 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.15, allocations: 4 kB / 0.6049 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006026/0.1561, allocations: 1.503 MB / 0.6063 GB, free: 1.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.1578, allocations: 291.6 kB / 0.6066 GB, free: 1.152 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/0.1794, allocations: 7.961 MB / 0.6144 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002182/0.1816, allocations: 199.1 kB / 0.6146 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/0.1818, allocations: 55.97 kB / 0.6146 GB, free: 8.828 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.0006989/0.1825, allocations: 304.3 kB / 0.6149 GB, free: 8.516 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/0.1828, allocations: 131.2 kB / 0.615 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/0.1971, allocations: 3.874 MB / 0.6188 GB, free: 4.477 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.1971, allocations: 12 kB / 0.6188 GB, free: 4.465 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.1971, allocations: 4 kB / 0.6188 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.375e-05/0.1972, allocations: 3.984 kB / 0.6188 GB, free: 4.457 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.01665/0.2138, allocations: 4.903 MB / 0.6236 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.2138, allocations: 0 / 0.6236 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007316/0.2146, allocations: 103.8 kB / 0.6237 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006132/0.2207, allocations: 1.586 MB / 0.6253 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/0.221, allocations: 24 kB / 0.6253 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02268/0.2436, allocations: 9.185 MB / 0.6343 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2436, allocations: 0 / 0.6343 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/0.2599, allocations: 4.77 MB / 0.6389 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006416/0.2605, allocations: 150.9 kB / 0.6391 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004842/0.261, allocations: 16 kB / 0.6391 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.2626, allocations: 111.8 kB / 0.6392 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007848/0.2634, allocations: 208.6 kB / 0.6394 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.2635, allocations: 27.94 kB / 0.6394 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001427/0.2649, allocations: 0.711 MB / 0.6401 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.2649, allocations: 0 / 0.6401 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002062/0.267, allocations: 475.6 kB / 0.6406 GB, free: 13.86 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.0004233/0.2674, allocations: 149.2 kB / 0.6407 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007145/0.2746, allocations: 2.417 MB / 0.6431 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2746, allocations: 0 / 0.6431 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004895/0.2795, allocations: 1.544 MB / 0.6446 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.281, allocations: 127.4 kB / 0.6447 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005036/0.2861, allocations: 2.179 MB / 0.6468 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007265/0.2868, allocations: 0.5315 MB / 0.6473 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005554/0.2874, allocations: 119.9 kB / 0.6475 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/0.2877, allocations: 80.48 kB / 0.6475 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.2877, allocations: 0 / 0.6475 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of Templates: time 0.04508/0.3328, allocations: 25.67 MB / 0.6726 GB, free: 12.96 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.690952282398939] Failed to read output from testmodel.py, exit status != 0: 0.3425155021250248 0.35781357 0.327388604 Calling exit ...