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.001514/0.001514, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.351/1.351, allocations: 230.6 MB / 253.4 MB, free: 14.26 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.001482/0.001482, allocations: 213.4 kB / 310 MB, free: 3.047 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5522/0.5522, allocations: 107.2 MB / 473.6 MB, free: 29.79 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.002397/0.002397, allocations: 94.64 kB / 0.6343 GB, free: 29.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1222, allocations: 80.15 MB / 0.7125 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.007067/0.1293, allocations: 5.827 MB / 0.7182 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004185/0.1335, allocations: 1.928 MB / 0.7201 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005486/0.134, allocations: 12 kB / 0.7201 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006741/0.1347, allocations: 237.9 kB / 0.7204 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.1368, allocations: 0.8514 MB / 0.7212 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.1381, allocations: 0.6194 MB / 0.7218 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001746/0.1399, allocations: 1.616 MB / 0.7234 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.1402, allocations: 210.9 kB / 0.7236 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008128/0.141, allocations: 0.6886 MB / 0.7242 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009085/0.142, allocations: 0.762 MB / 0.725 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.1421, allocations: 120 kB / 0.7251 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.1426, allocations: 271.9 kB / 0.7254 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.1429, allocations: 330.6 kB / 0.7257 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005309/0.1435, allocations: 0.5477 MB / 0.7262 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.1453, allocations: 1.708 MB / 0.7279 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1453, allocations: 0 / 0.7279 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1453, allocations: 3.938 kB / 0.7279 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.166e-05/0.1453, allocations: 4 kB / 0.7279 GB, free: 7.395 MB / 0.4981 GB 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.008584/0.1539, allocations: 2.804 MB / 0.7306 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1539, allocations: 12.03 kB / 0.7306 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00492/0.1589, allocations: 0.8069 MB / 0.7314 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.1604, allocations: 0.8229 MB / 0.7322 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003506/0.1607, allocations: 337.3 kB / 0.7325 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.1609, allocations: 87.95 kB / 0.7326 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.163, allocations: 1.112 MB / 0.7337 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1631, allocations: 4 kB / 0.7337 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.229e-05/0.1631, allocations: 32 kB / 0.7338 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.1632, allocations: 20 kB / 0.7338 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.1652, allocations: 1.009 MB / 0.7348 GB, free: 180 kB / 0.4981 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.006287/0.1715, allocations: 2.885 MB / 0.7376 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007024/0.1785, allocations: 2.017 MB / 0.7395 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.1799, allocations: 0.6427 MB / 0.7402 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.485e-05/0.18, allocations: 13 kB / 0.7402 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001632/0.1817, allocations: 0.8467 MB / 0.741 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 2.736e-06/0.1817, allocations: 0 / 0.741 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.02769/0.2094, allocations: 6.951 MB / 0.7478 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/0.2094, allocations: 111.8 kB / 0.7479 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.2111, allocations: 1.066 MB / 0.7489 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001772/0.2113, allocations: 49.73 kB / 0.749 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/0.2117, allocations: 0.5014 MB / 0.7495 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003932/0.2121, allocations: 364.9 kB / 0.7498 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004807/0.2126, allocations: 279.5 kB / 0.7501 GB, free: 248 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2127, allocations: 301.1 kB / 0.7504 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.2144, allocations: 0.8037 MB / 0.7512 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.2162, allocations: 0.9767 MB / 0.7521 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0239/0.2401, allocations: 5.755 MB / 0.7577 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.2401, allocations: 0 / 0.7577 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01331/0.2534, allocations: 4.347 MB / 0.762 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.054e-05/0.2535, allocations: 63.39 kB / 0.7621 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.2535, allocations: 4 kB / 0.7621 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005373/0.2589, allocations: 1.511 MB / 0.7635 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.2603, allocations: 287.6 kB / 0.7638 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/0.2798, allocations: 7.969 MB / 0.7716 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.2815, allocations: 195.1 kB / 0.7718 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.2817, allocations: 55.97 kB / 0.7718 GB, free: 9.668 MB / 0.545 GB 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 (159): * Single equations (assignments): 156 * 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.0005756/0.2822, allocations: 304.3 kB / 0.7721 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.2824, allocations: 131.2 kB / 0.7722 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.2951, allocations: 3.863 MB / 0.776 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.2951, allocations: 11.94 kB / 0.776 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.2952, allocations: 11.94 kB / 0.776 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.2952, allocations: 3.984 kB / 0.776 GB, free: 5.297 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 postOpt removeSimpleEquations (simulation): time 0.01425/0.3094, allocations: 4.892 MB / 0.7808 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3094, allocations: 4 kB / 0.7808 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005377/0.31, allocations: 99.83 kB / 0.7809 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005377/0.3153, allocations: 1.59 MB / 0.7825 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.3154, allocations: 27.98 kB / 0.7825 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02036/0.3358, allocations: 9.186 MB / 0.7915 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3358, allocations: 0 / 0.7915 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01436/0.3502, allocations: 4.762 MB / 0.7961 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/0.3505, allocations: 147 kB / 0.7963 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.3507, allocations: 23.88 kB / 0.7963 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.3518, allocations: 115.9 kB / 0.7964 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005468/0.3523, allocations: 200.7 kB / 0.7966 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-05/0.3524, allocations: 23.98 kB / 0.7966 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001079/0.3535, allocations: 0.711 MB / 0.7973 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.3535, allocations: 0 / 0.7973 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001233/0.3547, allocations: 479.6 kB / 0.7978 GB, free: 14.72 MB / 0.5762 GB 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 {(19,13,24.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.0002563/0.355, allocations: 139 kB / 0.7979 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006037/0.361, allocations: 2.436 MB / 0.8003 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.361, allocations: 0 / 0.8003 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004041/0.3651, allocations: 1.548 MB / 0.8018 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000779/0.3659, allocations: 120.2 kB / 0.8019 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/0.3697, allocations: 2.363 MB / 0.8042 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.3702, allocations: 0.5315 MB / 0.8047 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.3705, allocations: 79.42 kB / 0.8048 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.3705, allocations: 0 / 0.8048 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of Templates: time 0.2726/0.6431, allocations: 24.14 MB / 0.8284 GB, free: 88.93 MB / 0.5762 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: 9.35657800314948] Failed to read output from testmodel.py, exit status != 0: 0.6500414488837123 0.660030044 0.512630394 Calling exit ...