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.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.001451/0.001451, allocations: 105.7 kB / 19.59 MB, free: 2.211 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.296/1.296, allocations: 225.6 MB / 248.2 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 179] 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.001442/0.001442, allocations: 191.9 kB / 303.6 MB, free: 8.699 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.4055/0.4055, allocations: 79.71 MB / 438.5 MB, free: 5.234 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_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 0.002261/0.002261, allocations: 83.86 kB / 0.5843 GB, free: 8.062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.129, allocations: 72.13 MB / 0.6548 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.00736/0.1364, allocations: 6.594 MB / 0.6612 GB, free: 9.195 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004093/0.1405, allocations: 1.978 MB / 0.6631 GB, free: 7.215 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00069/0.1412, allocations: 16 kB / 0.6632 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000734/0.1419, allocations: 242 kB / 0.6634 GB, free: 6.961 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.1439, allocations: 0.8573 MB / 0.6642 GB, free: 6.105 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.001337/0.1453, allocations: 0.6403 MB / 0.6649 GB, free: 5.469 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001985/0.1473, allocations: 1.62 MB / 0.6664 GB, free: 3.844 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004317/0.1477, allocations: 222.9 kB / 0.6666 GB, free: 3.609 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009847/0.1487, allocations: 0.673 MB / 0.6673 GB, free: 2.934 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.1497, allocations: 0.844 MB / 0.6681 GB, free: 2.086 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.1499, allocations: 124 kB / 0.6682 GB, free: 1.965 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.1504, allocations: 255.9 kB / 0.6685 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.1507, allocations: 330.6 kB / 0.6688 GB, free: 1.391 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005927/0.1513, allocations: 0.6719 MB / 0.6695 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.1531, allocations: 1.669 MB / 0.6711 GB, free: 15.04 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1531, allocations: 0 / 0.6711 GB, free: 15.04 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1531, allocations: 0 / 0.6711 GB, free: 15.04 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.1532, allocations: 3.938 kB / 0.6711 GB, free: 15.04 MB / 478.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.009217/0.1624, allocations: 2.789 MB / 0.6738 GB, free: 12.19 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1624, allocations: 8.031 kB / 0.6738 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005059/0.1675, allocations: 0.7835 MB / 0.6746 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.1692, allocations: 0.8345 MB / 0.6754 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/0.1696, allocations: 256.2 kB / 0.6757 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.1697, allocations: 80 kB / 0.6757 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.172, allocations: 1.094 MB / 0.6768 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.172, allocations: 0 / 0.6768 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-05/0.1721, allocations: 28 kB / 0.6768 GB, free: 9.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.1721, allocations: 24 kB / 0.6768 GB, free: 8.996 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.1742, allocations: 0.9877 MB / 0.6778 GB, free: 8.008 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.007107/0.1813, allocations: 3.751 MB / 0.6815 GB, free: 4.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007565/0.1889, allocations: 1.996 MB / 0.6834 GB, free: 2.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.1905, allocations: 0.6137 MB / 0.684 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.1906, allocations: 20.97 kB / 0.684 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001688/0.1923, allocations: 0.8177 MB / 0.6848 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.424e-06/0.1923, allocations: 0 / 0.6848 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.03024/0.2225, allocations: 6.905 MB / 0.6916 GB, free: 9.664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.2226, allocations: 119.7 kB / 0.6917 GB, free: 9.523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.2243, allocations: 1.083 MB / 0.6928 GB, free: 8.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001955/0.2245, allocations: 49.69 kB / 0.6928 GB, free: 8.371 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.2249, allocations: 0.4936 MB / 0.6933 GB, free: 7.871 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003988/0.2253, allocations: 368.9 kB / 0.6936 GB, free: 7.508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000507/0.2258, allocations: 287.5 kB / 0.6939 GB, free: 7.223 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2259, allocations: 305.1 kB / 0.6942 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/0.2276, allocations: 0.7652 MB / 0.6949 GB, free: 6.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.2294, allocations: 0.9343 MB / 0.6959 GB, free: 5.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2876/0.5169, allocations: 5.572 MB / 0.7013 GB, free: 42.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-05/0.517, allocations: 1.094 kB / 0.7013 GB, free: 42.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.014/0.531, allocations: 4.323 MB / 0.7055 GB, free: 42.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/0.531, allocations: 60.53 kB / 0.7056 GB, free: 42.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.531, allocations: 2.812 kB / 0.7056 GB, free: 42.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005625/0.5367, allocations: 1.499 MB / 0.707 GB, free: 42.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.5382, allocations: 301.6 kB / 0.7073 GB, free: 42.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/0.5575, allocations: 8.175 MB / 0.7153 GB, free: 38.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.5593, allocations: 213.7 kB / 0.7155 GB, free: 38.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.5594, allocations: 55.23 kB / 0.7156 GB, free: 38.46 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: 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 (166): * Single equations (assignments): 163 * 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.0005367/0.5599, allocations: 308.8 kB / 0.7159 GB, free: 38.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.5601, allocations: 130.9 kB / 0.716 GB, free: 38.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.5727, allocations: 3.84 MB / 0.7197 GB, free: 37.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.5727, allocations: 14.12 kB / 0.7198 GB, free: 37.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.5727, allocations: 6.875 kB / 0.7198 GB, free: 37.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/0.5727, allocations: 3.938 kB / 0.7198 GB, free: 37.22 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.01375/0.5865, allocations: 5.399 MB / 0.725 GB, free: 34.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.5865, allocations: 3.938 kB / 0.725 GB, free: 34.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.587, allocations: 95.66 kB / 0.7251 GB, free: 34.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00536/0.5924, allocations: 1.606 MB / 0.7267 GB, free: 34.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.5925, allocations: 26.73 kB / 0.7267 GB, free: 34.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01749/0.61, allocations: 9.431 MB / 0.7359 GB, free: 27.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.61, allocations: 0 / 0.7359 GB, free: 27.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0132/0.6232, allocations: 4.71 MB / 0.7405 GB, free: 23.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/0.6236, allocations: 150.2 kB / 0.7407 GB, free: 23.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.6238, allocations: 27.92 kB / 0.7407 GB, free: 23.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.6249, allocations: 107.9 kB / 0.7408 GB, free: 23.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005273/0.6254, allocations: 200.7 kB / 0.741 GB, free: 23.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.6255, allocations: 31.94 kB / 0.741 GB, free: 23.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008517/0.6263, allocations: 0.7313 MB / 0.7417 GB, free: 22.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6263, allocations: 0 / 0.7417 GB, free: 22.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00127/0.6276, allocations: 471.2 kB / 0.7422 GB, free: 21.91 MB / 494.1 MB 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002175/0.6278, allocations: 135.7 kB / 0.7423 GB, free: 21.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005449/0.6333, allocations: 2.368 MB / 0.7446 GB, free: 19.37 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6333, allocations: 4 kB / 0.7446 GB, free: 19.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003891/0.6372, allocations: 1.543 MB / 0.7462 GB, free: 17.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009047/0.6381, allocations: 116.7 kB / 0.7463 GB, free: 17.67 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.6413, allocations: 2.337 MB / 0.7485 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.6417, allocations: 1.12 MB / 0.7496 GB, free: 14.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.642, allocations: 87.42 kB / 0.7497 GB, free: 14.11 MB / 494.1 MB Notification: Performance of SimCode: time 1.403e-06/0.642, allocations: 0 / 0.7497 GB, free: 14.11 MB / 494.1 MB Notification: Performance of Templates: time 0.02489/0.6668, allocations: 23.76 MB / 0.7729 GB, free: 6.348 MB / 0.4981 GB " [Timeout remaining time 659] 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: 9.1502380897291] Failed to read output from testmodel.py, exit status != 0: 0.6749317869544029 0.6887563329999999 0.532825025 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc1b50b5810>