Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.001464/0.001464, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.38/1.38, allocations: 230.6 MB / 253.4 MB, free: 14.29 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.001658/0.001658, allocations: 216.8 kB / 310 MB, free: 3.059 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5733/0.5733, allocations: 107.3 MB / 473.7 MB, free: 29.61 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.002476/0.002476, allocations: 84.72 kB / 0.6346 GB, free: 29.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1363, allocations: 80.18 MB / 0.7129 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02094/0.1572, allocations: 18.57 MB / 0.731 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01159/0.1688, allocations: 4.869 MB / 0.7358 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/0.1725, allocations: 44 kB / 0.7358 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003051/0.1755, allocations: 0.875 MB / 0.7367 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0081/0.1836, allocations: 2.291 MB / 0.7389 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005847/0.1895, allocations: 2.069 MB / 0.7409 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009082/0.1986, allocations: 5.795 MB / 0.7466 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.2007, allocations: 0.8649 MB / 0.7474 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/0.2048, allocations: 2.427 MB / 0.7498 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004277/0.2091, allocations: 2.693 MB / 0.7524 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001494/0.2106, allocations: 444 kB / 0.7528 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.2127, allocations: 0.6015 MB / 0.7534 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.214, allocations: 1.167 MB / 0.7546 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002629/0.2167, allocations: 2.132 MB / 0.7566 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008076/0.2247, allocations: 6.367 MB / 0.7629 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2247, allocations: 0 / 0.7629 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2247, allocations: 0 / 0.7629 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002311/0.225, allocations: 0 / 0.7629 GB, free: 3.516 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03135/0.2563, allocations: 9.974 MB / 0.7726 GB, free: 9.449 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2564, allocations: 8.031 kB / 0.7726 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02581/0.2822, allocations: 4.055 MB / 0.7766 GB, free: 5.379 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005906/0.2881, allocations: 2.594 MB / 0.7791 GB, free: 2.695 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00112/0.2892, allocations: 1.036 MB / 0.7801 GB, free: 1.504 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008863/0.2901, allocations: 348 kB / 0.7804 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.3002, allocations: 4.768 MB / 0.7851 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.448e-05/0.3003, allocations: 3.938 kB / 0.7851 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003866/0.3006, allocations: 144 kB / 0.7852 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.258e-05/0.3007, allocations: 84 kB / 0.7853 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009733/0.3105, allocations: 4.253 MB / 0.7895 GB, free: 7.863 MB / 0.5606 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 preOpt removeSimpleEquations (simulation): time 0.03239/0.3428, allocations: 13.06 MB / 0.8022 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/0.3551, allocations: 4.366 MB / 0.8065 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005867/0.361, allocations: 2.511 MB / 0.8089 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003688/0.3614, allocations: 58.97 kB / 0.809 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006674/0.3681, allocations: 3.219 MB / 0.8121 GB, free: 164 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=384): time 6.252e-06/0.3681, allocations: 0 / 0.8121 GB, free: 164 kB / 0.5762 GB Notification: Performance of matching and sorting (n=384): time 0.5704/0.9384, allocations: 67.54 MB / 0.8781 GB, free: 45.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.9385, allocations: 145.8 kB / 0.8782 GB, free: 44.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003508/0.942, allocations: 3.257 MB / 0.8814 GB, free: 41.72 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008035/0.9428, allocations: 89.7 kB / 0.8815 GB, free: 41.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009444/0.9438, allocations: 2.013 MB / 0.8835 GB, free: 39.94 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001314/0.9451, allocations: 1.379 MB / 0.8848 GB, free: 38.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.9462, allocations: 0.6666 MB / 0.8855 GB, free: 37.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.509e-05/0.9462, allocations: 305.1 kB / 0.8858 GB, free: 37.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00467/0.9509, allocations: 2.647 MB / 0.8883 GB, free: 34.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004911/0.9558, allocations: 3.271 MB / 0.8915 GB, free: 31.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06245/1.018, allocations: 19.19 MB / 0.9103 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.798e-05/1.018, allocations: 8 kB / 0.9103 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.05226/1.071, allocations: 17.21 MB / 0.9271 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.162e-05/1.071, allocations: 64.03 kB / 0.9272 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.754e-05/1.071, allocations: 16 kB / 0.9272 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02659/1.097, allocations: 7.153 MB / 0.9342 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003712/1.101, allocations: 0.6763 MB / 0.9348 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09234/1.193, allocations: 32.31 MB / 0.9664 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006223/1.2, allocations: 0.6183 MB / 0.967 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008639/1.2, allocations: 156 kB / 0.9671 GB, free: 1.562 MB / 0.6231 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 order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (400): * Single equations (assignments): 397 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002231/1.203, allocations: 0.6742 MB / 0.9678 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/1.204, allocations: 481 kB / 0.9682 GB, free: 416 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05828/1.262, allocations: 16.77 MB / 0.9846 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-05/1.262, allocations: 40 kB / 0.9847 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.912e-05/1.262, allocations: 28 kB / 0.9847 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001076/1.262, allocations: 23.86 kB / 0.9847 GB, free: 15.49 MB / 0.6544 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.06396/1.326, allocations: 20.05 MB / 1.004 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/1.326, allocations: 0 / 1.004 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/1.329, allocations: 395.5 kB / 1.005 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02631/1.355, allocations: 7.368 MB / 1.012 GB, free: 3.656 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00098/1.356, allocations: 75.98 kB / 1.012 GB, free: 3.582 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08207/1.438, allocations: 30.67 MB / 1.042 GB, free: 4.699 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.438, allocations: 0 / 1.042 GB, free: 4.699 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06323/1.501, allocations: 20.2 MB / 1.062 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/1.503, allocations: 0.5094 MB / 1.062 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000862/1.504, allocations: 64 kB / 1.062 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004292/1.508, allocations: 379.5 kB / 1.063 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002884/1.511, allocations: 0.8153 MB / 1.063 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002999/1.511, allocations: 99.73 kB / 1.063 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003118/1.514, allocations: 2.121 MB / 1.065 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.514, allocations: 0.875 kB / 1.065 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004756/1.519, allocations: 1.814 MB / 1.067 GB, free: 10.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (248): * Single equations (assignments): 245 * 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 {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005337/1.52, allocations: 203.5 kB / 1.067 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02521/1.545, allocations: 8.868 MB / 1.076 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.545, allocations: 0 / 1.076 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01964/1.564, allocations: 5.926 MB / 1.082 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/1.567, allocations: 383.9 kB / 1.082 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/1.583, allocations: 8.215 MB / 1.09 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/1.585, allocations: 1.939 MB / 1.092 GB, free: 0.8906 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/1.586, allocations: 275.4 kB / 1.092 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of SimCode: time 8.32e-07/1.586, allocations: 0 / 1.092 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of Templates: time 0.3812/1.968, allocations: 91.63 MB / 1.182 GB, free: 211.5 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.03904215991497] Failed to read output from testmodel.py, exit status != 0: 1.975667224265635 1.98442406 1.757432085 Calling exit ...