Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.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.00148/0.00148, allocations: 109.5 kB / 17.08 MB, free: 5.938 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.372/1.372, allocations: 222.9 MB / 242.7 MB, free: 15.22 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.001514/0.001515, allocations: 190.9 kB / 295 MB, free: 12.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5358/0.5358, allocations: 98.19 MB / 445.4 MB, free: 11 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 83.86 kB / 0.591 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1553, allocations: 72.77 MB / 0.6621 GB, free: 11.22 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01415/0.1695, allocations: 13.72 MB / 0.6755 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008593/0.1781, allocations: 3.472 MB / 0.6789 GB, free: 9.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/0.1805, allocations: 28 kB / 0.6789 GB, free: 9.926 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.182, allocations: 0.5654 MB / 0.6795 GB, free: 9.355 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.1865, allocations: 1.42 MB / 0.6809 GB, free: 7.934 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.1903, allocations: 1.511 MB / 0.6823 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005605/0.1959, allocations: 3.725 MB / 0.686 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.1971, allocations: 0.8895 MB / 0.6869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.1993, allocations: 1.525 MB / 0.6883 GB, free: 232 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3148/0.5141, allocations: 1.947 MB / 0.6902 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008282/0.515, allocations: 284.2 kB / 0.6905 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009762/0.5159, allocations: 432.7 kB / 0.6909 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005315/0.5165, allocations: 0.7649 MB / 0.6917 GB, free: 7.855 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.5178, allocations: 1.631 MB / 0.6933 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004565/0.5224, allocations: 3.993 MB / 0.6972 GB, free: 6.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5224, allocations: 0 / 0.6972 GB, free: 6.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.5224, allocations: 2.125 kB / 0.6972 GB, free: 6.652 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.862e-05/0.5225, allocations: 0 / 0.6972 GB, free: 6.652 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.02392/0.5465, allocations: 6.682 MB / 0.7037 GB, free: 4.727 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.5465, allocations: 10.12 kB / 0.7037 GB, free: 4.727 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01556/0.5621, allocations: 2.298 MB / 0.7059 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004655/0.5668, allocations: 1.887 MB / 0.7078 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007145/0.5675, allocations: 0.7347 MB / 0.7085 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000467/0.568, allocations: 217.2 kB / 0.7087 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006133/0.5741, allocations: 3.03 MB / 0.7117 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.5742, allocations: 2.078 kB / 0.7117 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/0.5745, allocations: 83.59 kB / 0.7118 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/0.5745, allocations: 48.75 kB / 0.7118 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005746/0.5803, allocations: 2.783 MB / 0.7145 GB, free: 3.035 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.01804/0.5983, allocations: 9.863 MB / 0.7241 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01168/0.61, allocations: 4.182 MB / 0.7282 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004529/0.6146, allocations: 1.967 MB / 0.7302 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.6149, allocations: 42.33 kB / 0.7302 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004663/0.6195, allocations: 2.235 MB / 0.7324 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=248): time 4.237e-06/0.6196, allocations: 0 / 0.7324 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.127/0.7466, allocations: 28.18 MB / 0.7599 GB, free: 356 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.7467, allocations: 188.2 kB / 0.7601 GB, free: 132 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004079/0.7508, allocations: 2.28 MB / 0.7623 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007877/0.7516, allocations: 69.7 kB / 0.7624 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.7527, allocations: 1.18 MB / 0.7635 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.7539, allocations: 0.9119 MB / 0.7644 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.7551, allocations: 0.5659 MB / 0.765 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.7553, allocations: 301.1 kB / 0.7653 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004625/0.7599, allocations: 1.951 MB / 0.7672 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0049/0.7648, allocations: 2.325 MB / 0.7694 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05755/0.8224, allocations: 14.01 MB / 0.7831 GB, free: 8.258 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.992e-05/0.8225, allocations: 11.94 kB / 0.7831 GB, free: 8.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04634/0.8688, allocations: 12.52 MB / 0.7954 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.869, allocations: 118.8 kB / 0.7955 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.869, allocations: 4.562 kB / 0.7955 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01944/0.8885, allocations: 5.294 MB / 0.8006 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/0.8916, allocations: 0.5641 MB / 0.8012 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06861/0.9603, allocations: 23.19 MB / 0.8238 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005815/0.9661, allocations: 498.7 kB / 0.8243 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/0.9673, allocations: 123.2 kB / 0.8244 GB, free: 13.87 MB / 0.5919 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003097/0.9704, allocations: 0.5343 MB / 0.825 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001754/0.9722, allocations: 311.1 kB / 0.8253 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04599/1.018, allocations: 11.9 MB / 0.8369 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.406e-05/1.018, allocations: 28 kB / 0.8369 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.773e-05/1.018, allocations: 16 kB / 0.8369 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.556e-05/1.018, allocations: 15.89 kB / 0.8369 GB, free: 1.105 MB / 0.5919 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.05562/1.074, allocations: 15.51 MB / 0.8521 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-05/1.074, allocations: 0 / 0.8521 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/1.076, allocations: 241.9 kB / 0.8523 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02008/1.096, allocations: 5.249 MB / 0.8574 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008535/1.097, allocations: 55.61 kB / 0.8575 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06985/1.167, allocations: 24.96 MB / 0.8819 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.167, allocations: 0 / 0.8819 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0509/1.218, allocations: 14.29 MB / 0.8958 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/1.219, allocations: 426.4 kB / 0.8962 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001445/1.221, allocations: 52 kB / 0.8963 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004082/1.225, allocations: 296.4 kB / 0.8966 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002643/1.227, allocations: 0.5818 MB / 0.8971 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005197/1.228, allocations: 63.98 kB / 0.8972 GB, free: 2.965 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003207/1.231, allocations: 1.499 MB / 0.8987 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.9e-07/1.231, allocations: 4 kB / 0.8987 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005155/1.236, allocations: 1.179 MB / 0.8998 GB, free: 284 kB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(65,23,7.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007479/1.237, allocations: 179.4 kB / 0.9 GB, free: 112 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01996/1.257, allocations: 6.641 MB / 0.9065 GB, free: 9.449 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.257, allocations: 0 / 0.9065 GB, free: 9.449 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01445/1.272, allocations: 4.4 MB / 0.9108 GB, free: 5.012 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003261/1.275, allocations: 264.3 kB / 0.911 GB, free: 4.754 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/1.287, allocations: 5.496 MB / 0.9164 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/1.289, allocations: 1.806 MB / 0.9181 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000945/1.29, allocations: 187.4 kB / 0.9183 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of SimCode: time 1.352e-06/1.29, allocations: 0 / 0.9183 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of Templates: time 0.4303/1.72, allocations: 64.04 MB / 0.9809 GB, free: 245.8 MB / 0.7169 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.712933121001697] Failed to read output from testmodel.py, exit status != 0: 1.727206671013846 1.737967964 1.213352531 Calling exit ...