Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.00153/0.00153, allocations: 122.9 kB / 17.14 MB, free: 6.023 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.566/1.566, allocations: 230.6 MB / 250.5 MB, free: 9.203 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.002082/0.002082, allocations: 216.6 kB / 306.7 MB, free: 4.281 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.6517/0.6517, allocations: 107.3 MB / 470 MB, free: 6.234 MB / 334.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.002589/0.002589, allocations: 83.86 kB / 0.6295 GB, free: 7.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5707/0.5733, allocations: 80.13 MB / 0.7077 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02188/0.5951, allocations: 21.85 MB / 0.7291 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.61, allocations: 4.893 MB / 0.7338 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005834/0.6158, allocations: 47.19 kB / 0.7339 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00437/0.6202, allocations: 0.8797 MB / 0.7347 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01181/0.632, allocations: 2.304 MB / 0.737 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007926/0.6399, allocations: 2.06 MB / 0.739 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01259/0.6525, allocations: 5.714 MB / 0.7446 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002861/0.6554, allocations: 0.9237 MB / 0.7455 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005365/0.6607, allocations: 2.385 MB / 0.7478 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006117/0.6669, allocations: 2.952 MB / 0.7507 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00218/0.669, allocations: 437.3 kB / 0.7511 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.6722, allocations: 0.6046 MB / 0.7517 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00242/0.6746, allocations: 1.142 MB / 0.7528 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.007222/0.6819, allocations: 2.612 MB / 0.7554 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01431/0.6962, allocations: 6.265 MB / 0.7615 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.6962, allocations: 0 / 0.7615 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6962, allocations: 9.25 kB / 0.7615 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003015/0.6965, allocations: 0 / 0.7615 GB, free: 14.97 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03717/0.7337, allocations: 9.341 MB / 0.7706 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.7337, allocations: 8.031 kB / 0.7706 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02924/0.7629, allocations: 4.059 MB / 0.7746 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007136/0.7701, allocations: 2.685 MB / 0.7772 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001257/0.7713, allocations: 0.9573 MB / 0.7781 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/0.7726, allocations: 348 kB / 0.7785 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/0.786, allocations: 4.727 MB / 0.7831 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.459e-05/0.7861, allocations: 3.938 kB / 0.7831 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004542/0.7865, allocations: 140 kB / 0.7832 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-05/0.7866, allocations: 88 kB / 0.7833 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.7974, allocations: 4.24 MB / 0.7875 GB, free: 6.52 MB / 0.545 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.0404/0.8378, allocations: 18.22 MB / 0.8052 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/0.8518, allocations: 4.644 MB / 0.8098 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006923/0.8587, allocations: 2.47 MB / 0.8122 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000566/0.8593, allocations: 74.89 kB / 0.8123 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007779/0.867, allocations: 3.184 MB / 0.8154 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=382): time 6.092e-06/0.8671, allocations: 0 / 0.8154 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=382): time 0.3315/1.199, allocations: 68.09 MB / 0.8819 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/1.199, allocations: 141.8 kB / 0.882 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005312/1.204, allocations: 3.222 MB / 0.8851 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001062/1.205, allocations: 89.7 kB / 0.8852 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001839/1.207, allocations: 2.005 MB / 0.8872 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002363/1.209, allocations: 1.371 MB / 0.8885 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/1.211, allocations: 0.6666 MB / 0.8892 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.211, allocations: 313.1 kB / 0.8895 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00614/1.217, allocations: 2.573 MB / 0.892 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007216/1.224, allocations: 3.205 MB / 0.8951 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07862/1.303, allocations: 18.98 MB / 0.9137 GB, free: 3.172 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.478e-05/1.303, allocations: 4 kB / 0.9137 GB, free: 3.168 MB / 0.67 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.06247/1.365, allocations: 16.82 MB / 0.9301 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-05/1.366, allocations: 67.39 kB / 0.9302 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.658e-05/1.366, allocations: 16 kB / 0.9302 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02879/1.394, allocations: 7.225 MB / 0.9372 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003858/1.398, allocations: 0.6592 MB / 0.9379 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1023/1.501, allocations: 33.77 MB / 0.9709 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007252/1.508, allocations: 0.6299 MB / 0.9715 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/1.509, allocations: 148 kB / 0.9716 GB, free: 7.582 MB / 0.7325 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.003586/1.513, allocations: 0.6748 MB / 0.9723 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002209/1.515, allocations: 480.8 kB / 0.9727 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4893/2.004, allocations: 16.71 MB / 0.989 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.415e-05/2.004, allocations: 36.34 kB / 0.9891 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.038e-05/2.004, allocations: 27.91 kB / 0.9891 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-05/2.004, allocations: 18.86 kB / 0.9891 GB, free: 231.9 MB / 0.7325 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.06689/2.071, allocations: 21.69 MB / 1.01 GB, free: 227.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/2.071, allocations: 0.9688 kB / 1.01 GB, free: 227.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002534/2.074, allocations: 388.7 kB / 1.011 GB, free: 227.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0262/2.1, allocations: 7.374 MB / 1.018 GB, free: 225.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001088/2.101, allocations: 72.58 kB / 1.018 GB, free: 225.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07793/2.179, allocations: 31.85 MB / 1.049 GB, free: 199.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/2.179, allocations: 0 / 1.049 GB, free: 199.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0619/2.241, allocations: 20.1 MB / 1.069 GB, free: 179.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/2.243, allocations: 0.5823 MB / 1.069 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001372/2.244, allocations: 64 kB / 1.069 GB, free: 178.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005001/2.249, allocations: 375.6 kB / 1.07 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003008/2.252, allocations: 0.7844 MB / 1.07 GB, free: 177.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003596/2.252, allocations: 99.97 kB / 1.071 GB, free: 177.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0027/2.255, allocations: 2.109 MB / 1.073 GB, free: 175.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/2.255, allocations: 3.938 kB / 1.073 GB, free: 175.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005342/2.26, allocations: 1.807 MB / 1.074 GB, free: 173.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005843/2.261, allocations: 196 kB / 1.075 GB, free: 173.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02488/2.286, allocations: 8.888 MB / 1.083 GB, free: 164.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/2.286, allocations: 0 / 1.083 GB, free: 164.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01948/2.305, allocations: 5.89 MB / 1.089 GB, free: 158.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/2.309, allocations: 387.6 kB / 1.089 GB, free: 157.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/2.323, allocations: 8.03 MB / 1.097 GB, free: 149.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/2.324, allocations: 2.443 MB / 1.1 GB, free: 147.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/2.326, allocations: 275.4 kB / 1.1 GB, free: 147.1 MB / 0.7325 GB Notification: Performance of SimCode: time 9.21e-07/2.326, allocations: 4 kB / 1.1 GB, free: 147.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.0998/2.426, allocations: 89.3 MB / 1.187 GB, free: 57.62 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.42146741808392] Failed to read output from testmodel.py, exit status != 0: 2.434843352995813 2.442701439 1.744078334 Calling exit ...