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.001373/0.001373, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.464/1.464, allocations: 230.6 MB / 253.4 MB, free: 8.285 MB / 206.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.001728/0.001728, allocations: 210.6 kB / 310 MB, free: 3.133 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.4761/0.4761, allocations: 79.74 MB / 446.2 MB, free: 14.81 MB / 318.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.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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 87.88 kB / 0.5942 GB, free: 13.45 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1534, allocations: 73.28 MB / 0.6657 GB, free: 4.059 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.00844/0.1619, allocations: 6.635 MB / 0.6722 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004422/0.1663, allocations: 2.033 MB / 0.6742 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006046/0.1669, allocations: 12 kB / 0.6742 GB, free: 11.35 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007128/0.1676, allocations: 234 kB / 0.6744 GB, free: 11.12 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.1697, allocations: 0.8699 MB / 0.6753 GB, free: 10.25 MB / 478.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.001391/0.1711, allocations: 0.6413 MB / 0.6759 GB, free: 9.613 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.1729, allocations: 1.615 MB / 0.6775 GB, free: 7.992 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004067/0.1733, allocations: 226.9 kB / 0.6777 GB, free: 7.758 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008906/0.1742, allocations: 0.6847 MB / 0.6784 GB, free: 7.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.1753, allocations: 0.8401 MB / 0.6792 GB, free: 6.227 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.1754, allocations: 120 kB / 0.6793 GB, free: 6.109 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005334/0.176, allocations: 283.8 kB / 0.6796 GB, free: 5.832 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.1763, allocations: 326.6 kB / 0.6799 GB, free: 5.512 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006203/0.1769, allocations: 0.668 MB / 0.6805 GB, free: 4.84 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.1788, allocations: 1.692 MB / 0.6822 GB, free: 3.141 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1788, allocations: 4 kB / 0.6822 GB, free: 3.137 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1788, allocations: 0 / 0.6822 GB, free: 3.137 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.1788, allocations: 0 / 0.6822 GB, free: 3.137 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.00957/0.1884, allocations: 2.816 MB / 0.685 GB, free: 272 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1885, allocations: 15.98 kB / 0.685 GB, free: 256 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005454/0.1939, allocations: 0.7991 MB / 0.6858 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.1955, allocations: 0.8268 MB / 0.6866 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003579/0.1959, allocations: 333.3 kB / 0.6869 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/0.1961, allocations: 84 kB / 0.687 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.1983, allocations: 1.094 MB / 0.688 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.1983, allocations: 0 / 0.688 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-05/0.1984, allocations: 32 kB / 0.6881 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.1984, allocations: 19.98 kB / 0.6881 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.2006, allocations: 0.9877 MB / 0.689 GB, free: 11.96 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 preOpt removeSimpleEquations (simulation): time 0.007007/0.2076, allocations: 3.758 MB / 0.6927 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0077/0.2153, allocations: 2 MB / 0.6947 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.2168, allocations: 0.6175 MB / 0.6953 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.2169, allocations: 12.98 kB / 0.6953 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001779/0.2186, allocations: 0.8294 MB / 0.6961 GB, free: 4.531 MB / 494.1 MB Notification: Performance of pre-optimization done (n=96): time 2.715e-06/0.2186, allocations: 0 / 0.6961 GB, free: 4.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.3641/0.5828, allocations: 6.893 MB / 0.7028 GB, free: 34.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.5829, allocations: 117.8 kB / 0.7029 GB, free: 34.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.5852, allocations: 1.083 MB / 0.704 GB, free: 34.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003285/0.5855, allocations: 45.77 kB / 0.704 GB, free: 34.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/0.586, allocations: 0.4935 MB / 0.7045 GB, free: 34.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004659/0.5865, allocations: 373.7 kB / 0.7049 GB, free: 34.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006191/0.5871, allocations: 291.9 kB / 0.7051 GB, free: 34.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.481e-05/0.5871, allocations: 304.8 kB / 0.7054 GB, free: 34.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/0.5891, allocations: 0.7628 MB / 0.7062 GB, free: 34.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.5912, allocations: 0.9388 MB / 0.7071 GB, free: 33.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02832/0.6195, allocations: 5.783 MB / 0.7127 GB, free: 32.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-05/0.6196, allocations: 4.875 kB / 0.7128 GB, free: 32.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01611/0.6357, allocations: 4.326 MB / 0.717 GB, free: 31.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.569e-05/0.6357, allocations: 58.25 kB / 0.717 GB, free: 31.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.6358, allocations: 2.281 kB / 0.717 GB, free: 31.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00533/0.6411, allocations: 1.519 MB / 0.7185 GB, free: 31.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.6428, allocations: 292.9 kB / 0.7188 GB, free: 31.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01833/0.6611, allocations: 8.169 MB / 0.7268 GB, free: 26.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.6632, allocations: 204.2 kB / 0.727 GB, free: 26.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.6634, allocations: 57.69 kB / 0.727 GB, free: 26.68 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.0006689/0.664, allocations: 306.6 kB / 0.7273 GB, free: 26.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/0.6643, allocations: 136.9 kB / 0.7274 GB, free: 26.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/0.6762, allocations: 3.838 MB / 0.7312 GB, free: 24.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.6762, allocations: 9.938 kB / 0.7312 GB, free: 24.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.6762, allocations: 7.562 kB / 0.7312 GB, free: 24.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.656e-05/0.6762, allocations: 6.141 kB / 0.7312 GB, free: 24.38 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.01394/0.6902, allocations: 5.41 MB / 0.7365 GB, free: 21.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.6902, allocations: 0 / 0.7365 GB, free: 21.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/0.6908, allocations: 102.5 kB / 0.7366 GB, free: 21.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004954/0.6958, allocations: 1.605 MB / 0.7382 GB, free: 19.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/0.696, allocations: 20.88 kB / 0.7382 GB, free: 19.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01774/0.7137, allocations: 9.423 MB / 0.7474 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7137, allocations: 0 / 0.7474 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/0.7268, allocations: 4.717 MB / 0.752 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/0.7273, allocations: 154.5 kB / 0.7521 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003915/0.7277, allocations: 20 kB / 0.7522 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.729, allocations: 113 kB / 0.7523 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005982/0.7296, allocations: 200.6 kB / 0.7525 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.7297, allocations: 31.98 kB / 0.7525 GB, free: 4.914 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001108/0.7308, allocations: 0.7313 MB / 0.7532 GB, free: 4.176 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7308, allocations: 96 / 0.7532 GB, free: 4.176 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001603/0.7324, allocations: 480.5 kB / 0.7537 GB, free: 3.719 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.0003115/0.7327, allocations: 136.7 kB / 0.7538 GB, free: 3.578 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005646/0.7384, allocations: 2.37 MB / 0.7561 GB, free: 1.172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.7384, allocations: 4.188 kB / 0.7561 GB, free: 1.168 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004094/0.7425, allocations: 1.547 MB / 0.7576 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.7437, allocations: 124.9 kB / 0.7577 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/0.7488, allocations: 2.328 MB / 0.76 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009364/0.7497, allocations: 1.116 MB / 0.7611 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.7502, allocations: 87.41 kB / 0.7612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/0.7502, allocations: 0 / 0.7612 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of Templates: time 0.03908/0.7893, allocations: 23.81 MB / 0.7844 GB, free: 4.113 MB / 0.5137 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: 10.605090840021148] Failed to read output from testmodel.py, exit status != 0: 0.8006157178897411 0.818477151 0.636303388 Calling exit ...