Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.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.001424/0.001424, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.424/1.424, allocations: 177.2 MB / 200.1 MB, free: 9.047 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.001734/0.001734, allocations: 161.3 kB / 256.6 MB, free: 0.7812 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.3283/0.3283, allocations: 59.77 MB / 372.8 MB, free: 13.12 MB / 350.1 MB " [Timeout remaining time 180] 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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [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.002522/0.002522, allocations: 88.11 kB / 0.5224 GB, free: 55.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1411, allocations: 73.28 MB / 0.5939 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007354/0.1484, allocations: 5.863 MB / 0.5997 GB, free: 4.152 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004287/0.1527, allocations: 1.947 MB / 0.6016 GB, free: 2.203 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005772/0.1533, allocations: 11.94 kB / 0.6016 GB, free: 2.191 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007316/0.154, allocations: 253.9 kB / 0.6018 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.1561, allocations: 0.8546 MB / 0.6027 GB, free: 1.086 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.1575, allocations: 0.6276 MB / 0.6033 GB, free: 472 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00188/0.1593, allocations: 1.663 MB / 0.6049 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003954/0.1597, allocations: 214.9 kB / 0.6051 GB, free: 14.57 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008924/0.1606, allocations: 0.7003 MB / 0.6058 GB, free: 13.86 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.1616, allocations: 0.7971 MB / 0.6066 GB, free: 13.06 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.1618, allocations: 128 kB / 0.6067 GB, free: 12.94 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005208/0.1623, allocations: 275.9 kB / 0.6069 GB, free: 12.67 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003338/0.1627, allocations: 350.5 kB / 0.6073 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005839/0.1633, allocations: 0.5671 MB / 0.6078 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.1651, allocations: 1.747 MB / 0.6095 GB, free: 10 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1651, allocations: 4 kB / 0.6095 GB, free: 9.996 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1651, allocations: 0 / 0.6095 GB, free: 9.996 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.1651, allocations: 0 / 0.6095 GB, free: 9.996 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009644/0.1748, allocations: 2.882 MB / 0.6124 GB, free: 7.059 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.1748, allocations: 15.98 kB / 0.6124 GB, free: 7.043 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005284/0.1801, allocations: 0.803 MB / 0.6132 GB, free: 6.238 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.1819, allocations: 0.8506 MB / 0.614 GB, free: 5.344 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/0.1822, allocations: 341.2 kB / 0.6143 GB, free: 4.953 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.1824, allocations: 84 kB / 0.6144 GB, free: 4.871 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.1847, allocations: 1.127 MB / 0.6155 GB, free: 3.727 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.1847, allocations: 3.938 kB / 0.6155 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.164e-05/0.1848, allocations: 28 kB / 0.6155 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.1848, allocations: 24 kB / 0.6155 GB, free: 3.672 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.187, allocations: 1.017 MB / 0.6165 GB, free: 2.645 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.006408/0.1934, allocations: 2.906 MB / 0.6194 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007677/0.2011, allocations: 2.043 MB / 0.6214 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.2026, allocations: 0.6475 MB / 0.622 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.2027, allocations: 12.94 kB / 0.622 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001875/0.2045, allocations: 0.8546 MB / 0.6228 GB, free: 12.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 3.737e-06/0.2045, allocations: 0 / 0.6228 GB, free: 12.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=97): time 0.03067/0.2352, allocations: 7.095 MB / 0.6298 GB, free: 4.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.2353, allocations: 115.8 kB / 0.6299 GB, free: 4.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/0.2377, allocations: 1.094 MB / 0.631 GB, free: 3.684 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002789/0.238, allocations: 49.73 kB / 0.631 GB, free: 3.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006124/0.2386, allocations: 0.5053 MB / 0.6315 GB, free: 3.117 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007156/0.2393, allocations: 376.8 kB / 0.6319 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009306/0.2402, allocations: 283.5 kB / 0.6321 GB, free: 2.465 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2404, allocations: 305.1 kB / 0.6324 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.2424, allocations: 0.8271 MB / 0.6332 GB, free: 1.324 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.2445, allocations: 0.9922 MB / 0.6342 GB, free: 284 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02765/0.2722, allocations: 5.981 MB / 0.64 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.2722, allocations: 0 / 0.64 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01585/0.288, allocations: 4.458 MB / 0.6444 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.694e-05/0.2881, allocations: 59.41 kB / 0.6444 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.2882, allocations: 3.938 kB / 0.6444 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006441/0.2946, allocations: 1.635 MB / 0.646 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.2962, allocations: 275.6 kB / 0.6463 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02212/0.3184, allocations: 8.306 MB / 0.6544 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.3206, allocations: 203.2 kB / 0.6546 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003326/0.3209, allocations: 55.98 kB / 0.6547 GB, free: 11.06 MB / 0.5137 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.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 (160): * Single equations (assignments): 157 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009923/0.3219, allocations: 313 kB / 0.655 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004682/0.3224, allocations: 135.2 kB / 0.6551 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/0.3361, allocations: 3.898 MB / 0.6589 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.3362, allocations: 8 kB / 0.6589 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.301e-05/0.3362, allocations: 11.98 kB / 0.6589 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/0.3362, allocations: 3.984 kB / 0.6589 GB, free: 6.656 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 postOpt removeSimpleEquations (simulation): time 0.01633/0.3525, allocations: 4.935 MB / 0.6637 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.3525, allocations: 4 kB / 0.6637 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007008/0.3532, allocations: 107.8 kB / 0.6638 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3842/0.7375, allocations: 1.578 MB / 0.6654 GB, free: 64.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003435/0.7378, allocations: 19.94 kB / 0.6654 GB, free: 64.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/0.7587, allocations: 9.207 MB / 0.6744 GB, free: 61.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7587, allocations: 0.875 kB / 0.6744 GB, free: 61.37 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01689/0.7756, allocations: 4.809 MB / 0.6791 GB, free: 60.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007554/0.7764, allocations: 152.6 kB / 0.6792 GB, free: 59.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.7766, allocations: 22.72 kB / 0.6793 GB, free: 59.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.7779, allocations: 110.3 kB / 0.6794 GB, free: 59.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008299/0.7787, allocations: 202.7 kB / 0.6796 GB, free: 59.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-05/0.7788, allocations: 25.09 kB / 0.6796 GB, free: 59.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001296/0.7801, allocations: 0.751 MB / 0.6803 GB, free: 59.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7801, allocations: 0 / 0.6803 GB, free: 59.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002055/0.7821, allocations: 490.1 kB / 0.6808 GB, free: 59.51 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003232/0.7825, allocations: 143.4 kB / 0.6809 GB, free: 59.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007185/0.7897, allocations: 2.513 MB / 0.6834 GB, free: 58.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.7897, allocations: 3.031 kB / 0.6834 GB, free: 58.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004263/0.7939, allocations: 1.549 MB / 0.6849 GB, free: 57.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.7951, allocations: 113.2 kB / 0.685 GB, free: 57.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.7992, allocations: 2.414 MB / 0.6874 GB, free: 56.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006474/0.7999, allocations: 0.5392 MB / 0.6879 GB, free: 56.17 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005319/0.8004, allocations: 121.5 kB / 0.688 GB, free: 56.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.8007, allocations: 76.73 kB / 0.6881 GB, free: 56.13 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/0.8007, allocations: 0 / 0.6881 GB, free: 56.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.03419/0.8349, allocations: 26.54 MB / 0.714 GB, free: 37.64 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.742406798992306] Failed to read output from testmodel.py, exit status != 0: 0.8431515009142458 0.853356828 0.685983864 Calling exit ...