Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001659/0.001659, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.53/1.53, allocations: 225.6 MB / 247.7 MB, free: 13.27 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.001883/0.001883, allocations: 195.4 kB / 303.1 MB, free: 8.676 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4921/0.4921, allocations: 79.71 MB / 438.1 MB, free: 5.258 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 83.86 kB / 0.584 GB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1777, allocations: 72.13 MB / 0.6544 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.008149/0.1858, allocations: 6.238 MB / 0.6605 GB, free: 9.508 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005002/0.1908, allocations: 1.885 MB / 0.6624 GB, free: 7.621 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009969/0.1918, allocations: 8 kB / 0.6624 GB, free: 7.613 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006369/0.1924, allocations: 206.1 kB / 0.6626 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002473/0.1949, allocations: 0.818 MB / 0.6634 GB, free: 6.59 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.1964, allocations: 0.5901 MB / 0.6639 GB, free: 6.004 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.1982, allocations: 1.382 MB / 0.6653 GB, free: 4.617 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000395/0.1986, allocations: 200.3 kB / 0.6655 GB, free: 4.402 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008674/0.1995, allocations: 0.6029 MB / 0.6661 GB, free: 3.797 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000915/0.2004, allocations: 0.7623 MB / 0.6668 GB, free: 3.031 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.2006, allocations: 108 kB / 0.6669 GB, free: 2.926 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005523/0.2011, allocations: 243.9 kB / 0.6671 GB, free: 2.688 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.2014, allocations: 298.7 kB / 0.6674 GB, free: 2.395 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005953/0.202, allocations: 0.6097 MB / 0.668 GB, free: 1.781 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.2039, allocations: 1.49 MB / 0.6695 GB, free: 292 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2039, allocations: 4 kB / 0.6695 GB, free: 288 kB / 462.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2039, allocations: 0 / 0.6695 GB, free: 288 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.2039, allocations: 0 / 0.6695 GB, free: 288 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008863/0.2128, allocations: 2.455 MB / 0.6719 GB, free: 13.79 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.2128, allocations: 8.031 kB / 0.6719 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/0.218, allocations: 0.7718 MB / 0.6726 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.22, allocations: 0.7294 MB / 0.6734 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004056/0.2204, allocations: 264.1 kB / 0.6736 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.2206, allocations: 79.95 kB / 0.6737 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.2234, allocations: 1.17 MB / 0.6748 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.2234, allocations: 11.88 kB / 0.6748 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.774e-05/0.2235, allocations: 28 kB / 0.6749 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.2236, allocations: 16 kB / 0.6749 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.2257, allocations: 0.9498 MB / 0.6758 GB, free: 9.656 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 preOpt removeSimpleEquations (simulation): time 0.006844/0.2326, allocations: 3.481 MB / 0.6792 GB, free: 5.996 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007747/0.2403, allocations: 1.933 MB / 0.6811 GB, free: 4.047 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.2419, allocations: 0.5961 MB / 0.6817 GB, free: 3.449 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.242, allocations: 16.64 kB / 0.6817 GB, free: 3.434 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.2421, allocations: 43.22 kB / 0.6817 GB, free: 3.379 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 4.278e-06/0.2421, allocations: 7.938 kB / 0.6817 GB, free: 3.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.02972/0.2718, allocations: 6.568 MB / 0.6882 GB, free: 12.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.2719, allocations: 89.77 kB / 0.6882 GB, free: 12.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.2736, allocations: 0.9696 MB / 0.6892 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002172/0.2738, allocations: 45.7 kB / 0.6892 GB, free: 11.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/0.2742, allocations: 461.4 kB / 0.6897 GB, free: 11.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004418/0.2747, allocations: 333.2 kB / 0.69 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005074/0.2752, allocations: 259.5 kB / 0.6902 GB, free: 10.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2753, allocations: 301.1 kB / 0.6905 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.2769, allocations: 0.7027 MB / 0.6912 GB, free: 9.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.2788, allocations: 0.9108 MB / 0.6921 GB, free: 8.609 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02423/0.303, allocations: 5.061 MB / 0.697 GB, free: 3.477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.303, allocations: 4 kB / 0.697 GB, free: 3.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.4067/0.7097, allocations: 4.127 MB / 0.7011 GB, free: 41.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.7097, allocations: 11.25 kB / 0.7011 GB, free: 41.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.7097, allocations: 6.188 kB / 0.7011 GB, free: 41.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006224/0.716, allocations: 1.501 MB / 0.7026 GB, free: 41.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.7174, allocations: 257.2 kB / 0.7028 GB, free: 41.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/0.7386, allocations: 8.191 MB / 0.7108 GB, free: 38.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/0.7404, allocations: 172.4 kB / 0.711 GB, free: 38.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.7406, allocations: 55.61 kB / 0.711 GB, free: 38.73 MB / 494.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: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * 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.0006286/0.7412, allocations: 271.4 kB / 0.7113 GB, free: 38.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001101/0.7423, allocations: 350 kB / 0.7116 GB, free: 38.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/0.7552, allocations: 3.559 MB / 0.7151 GB, free: 37.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.7553, allocations: 10.56 kB / 0.7151 GB, free: 37.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-05/0.7553, allocations: 6.344 kB / 0.7151 GB, free: 37.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/0.7553, allocations: 5.953 kB / 0.7151 GB, free: 37.66 MB / 494.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.01458/0.7699, allocations: 5.072 MB / 0.7201 GB, free: 36.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/0.7699, allocations: 1.062 kB / 0.7201 GB, free: 36.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007206/0.7706, allocations: 105.8 kB / 0.7202 GB, free: 36.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005855/0.7765, allocations: 1.587 MB / 0.7217 GB, free: 35.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/0.7767, allocations: 16.5 kB / 0.7217 GB, free: 35.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01967/0.7963, allocations: 10.57 MB / 0.7321 GB, free: 28.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.7964, allocations: 3.938 kB / 0.7321 GB, free: 28.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/0.8109, allocations: 4.59 MB / 0.7365 GB, free: 25.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004936/0.8114, allocations: 141.9 kB / 0.7367 GB, free: 25.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/0.8118, allocations: 15.84 kB / 0.7367 GB, free: 25.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.813, allocations: 87.8 kB / 0.7368 GB, free: 25.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005863/0.8136, allocations: 179 kB / 0.7369 GB, free: 25.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.8137, allocations: 33.48 kB / 0.737 GB, free: 25.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009071/0.8146, allocations: 0.639 MB / 0.7376 GB, free: 25.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8146, allocations: 0 / 0.7376 GB, free: 25.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002031/0.8167, allocations: 439.5 kB / 0.738 GB, free: 25.28 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003433/0.817, allocations: 128.7 kB / 0.7381 GB, free: 25.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005879/0.8229, allocations: 2.173 MB / 0.7403 GB, free: 23.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8229, allocations: 0 / 0.7403 GB, free: 23.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003881/0.8268, allocations: 1.262 MB / 0.7415 GB, free: 22.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.8287, allocations: 346.2 kB / 0.7418 GB, free: 21.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.833, allocations: 2.083 MB / 0.7439 GB, free: 19.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/0.8335, allocations: 1.081 MB / 0.7449 GB, free: 18.61 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004018/0.8339, allocations: 103.3 kB / 0.745 GB, free: 18.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.8342, allocations: 75.41 kB / 0.7451 GB, free: 18.43 MB / 494.1 MB Notification: Performance of SimCode: time 1.242e-06/0.8342, allocations: 0 / 0.7451 GB, free: 18.43 MB / 494.1 MB Notification: Performance of Templates: time 0.03489/0.8691, allocations: 22.64 MB / 0.7672 GB, free: 11.82 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.412001041695476] Failed to read output from testmodel.py, exit status != 0: 0.878653977997601 0.8964046640000001 0.68897354 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb4c4e097b0>