Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001295/0.001295, 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.359/1.359, allocations: 230.6 MB / 253.4 MB, free: 14.31 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.001438/0.001438, allocations: 203.8 kB / 310 MB, free: 3.098 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.5659/0.5659, allocations: 107.3 MB / 473.7 MB, free: 29.81 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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.002426/0.002426, allocations: 90.36 kB / 0.6345 GB, free: 29.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1253, allocations: 80.17 MB / 0.7128 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.007224/0.1326, allocations: 5.839 MB / 0.7185 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003764/0.1363, allocations: 1.928 MB / 0.7203 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005934/0.1369, allocations: 12 kB / 0.7204 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007327/0.1377, allocations: 237.9 kB / 0.7206 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.1398, allocations: 0.8475 MB / 0.7214 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.1412, allocations: 0.6251 MB / 0.722 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001759/0.143, allocations: 1.612 MB / 0.7236 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/0.1433, allocations: 210.9 kB / 0.7238 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008311/0.1442, allocations: 0.6847 MB / 0.7245 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009282/0.1451, allocations: 0.7659 MB / 0.7252 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001831/0.1453, allocations: 124 kB / 0.7253 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.1458, allocations: 271.9 kB / 0.7256 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.1461, allocations: 330.6 kB / 0.7259 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005116/0.1466, allocations: 0.5438 MB / 0.7264 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.1484, allocations: 1.704 MB / 0.7281 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1484, allocations: 3.984 kB / 0.7281 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1484, allocations: 0 / 0.7281 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.979e-05/0.1484, allocations: 3.938 kB / 0.7281 GB, free: 7.254 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.008593/0.157, allocations: 2.808 MB / 0.7308 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.157, allocations: 12.03 kB / 0.7309 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/0.1621, allocations: 0.7991 MB / 0.7316 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.1639, allocations: 0.8229 MB / 0.7324 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003601/0.1642, allocations: 337.3 kB / 0.7328 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.1644, allocations: 87.95 kB / 0.7328 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.1666, allocations: 1.115 MB / 0.7339 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.1666, allocations: 3.938 kB / 0.7339 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-05/0.1667, allocations: 32 kB / 0.734 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.1667, allocations: 20 kB / 0.734 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.1688, allocations: 1.013 MB / 0.735 GB, free: 32 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.00632/0.1751, allocations: 2.874 MB / 0.7378 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007127/0.1822, allocations: 2.029 MB / 0.7398 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.1836, allocations: 0.6427 MB / 0.7404 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.227e-05/0.1836, allocations: 13 kB / 0.7404 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/0.1853, allocations: 0.8448 MB / 0.7412 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 2.645e-06/0.1853, allocations: 0 / 0.7412 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.02787/0.2132, allocations: 6.951 MB / 0.748 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/0.2132, allocations: 111.8 kB / 0.7481 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.2149, allocations: 1.066 MB / 0.7492 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001725/0.2151, allocations: 45.7 kB / 0.7492 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/0.2155, allocations: 0.5014 MB / 0.7497 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004366/0.2159, allocations: 364.9 kB / 0.75 GB, free: 392 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005298/0.2165, allocations: 283.5 kB / 0.7503 GB, free: 104 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2166, allocations: 305.1 kB / 0.7506 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.2183, allocations: 0.8037 MB / 0.7514 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.2201, allocations: 0.9728 MB / 0.7523 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02421/0.2443, allocations: 5.755 MB / 0.758 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.2443, allocations: 0 / 0.758 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01349/0.2578, allocations: 4.34 MB / 0.7622 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.858e-05/0.2579, allocations: 67.39 kB / 0.7623 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.2579, allocations: 8 kB / 0.7623 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005432/0.2634, allocations: 1.503 MB / 0.7637 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.2649, allocations: 291.5 kB / 0.764 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01989/0.2848, allocations: 7.974 MB / 0.7718 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.2865, allocations: 195.1 kB / 0.772 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.2866, allocations: 55.97 kB / 0.772 GB, free: 9.527 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.0005869/0.2872, allocations: 298.7 kB / 0.7723 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.2874, allocations: 131.2 kB / 0.7725 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/0.3004, allocations: 3.863 MB / 0.7762 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.3004, allocations: 11.94 kB / 0.7762 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.3004, allocations: 11.94 kB / 0.7763 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.3004, allocations: 3.984 kB / 0.7763 GB, free: 5.164 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.01469/0.3151, allocations: 4.9 MB / 0.781 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.3151, allocations: 3.938 kB / 0.781 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006167/0.3157, allocations: 99.83 kB / 0.7811 GB, free: 108 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005661/0.3214, allocations: 1.594 MB / 0.7827 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/0.3216, allocations: 23.98 kB / 0.7827 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02058/0.3422, allocations: 9.184 MB / 0.7917 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3422, allocations: 0 / 0.7917 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/0.3568, allocations: 4.762 MB / 0.7963 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/0.3572, allocations: 147 kB / 0.7965 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003019/0.3575, allocations: 27.88 kB / 0.7965 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/0.3588, allocations: 111.9 kB / 0.7966 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006149/0.3594, allocations: 200.6 kB / 0.7968 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.3595, allocations: 27.98 kB / 0.7968 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001308/0.3608, allocations: 0.711 MB / 0.7975 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.3608, allocations: 0 / 0.7975 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001636/0.3625, allocations: 479.5 kB / 0.798 GB, free: 14.58 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.0003251/0.3628, allocations: 135.1 kB / 0.7981 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006338/0.3691, allocations: 2.436 MB / 0.8005 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3692, allocations: 0 / 0.8005 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004347/0.3735, allocations: 1.548 MB / 0.802 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.3746, allocations: 121.2 kB / 0.8021 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004523/0.3791, allocations: 2.362 MB / 0.8044 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.3798, allocations: 0.5317 MB / 0.8049 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/0.3801, allocations: 79.42 kB / 0.805 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of SimCode: time 9.41e-07/0.3801, allocations: 3.938 kB / 0.805 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.2859/0.666, allocations: 24.14 MB / 0.8286 GB, free: 88.78 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.459275072906166] Failed to read output from testmodel.py, exit status != 0: 0.6737209199927747 0.68351268 0.5330420819999999 Calling exit ...