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.001395/0.001395, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.393/1.393, allocations: 177.2 MB / 200.1 MB, free: 8.367 MB / 190.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.001579/0.001579, allocations: 155.8 kB / 256.6 MB, free: 4.305 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.5926/0.5926, allocations: 80.29 MB / 393.3 MB, free: 13.26 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 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.002631/0.002631, allocations: 86.23 kB / 0.5558 GB, free: 3.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1581, allocations: 80.12 MB / 0.6341 GB, free: 3.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.007786/0.1659, allocations: 5.82 MB / 0.6398 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004834/0.1707, allocations: 1.928 MB / 0.6417 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.1721, allocations: 16 kB / 0.6417 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1732, allocations: 237.9 kB / 0.6419 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003343/0.1765, allocations: 0.848 MB / 0.6427 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.1781, allocations: 0.6337 MB / 0.6433 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002324/0.1804, allocations: 1.604 MB / 0.6449 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00045/0.1809, allocations: 218.8 kB / 0.6451 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.1819, allocations: 0.6769 MB / 0.6458 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.183, allocations: 0.7737 MB / 0.6465 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.1832, allocations: 120 kB / 0.6467 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005456/0.1837, allocations: 275.8 kB / 0.6469 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003867/0.1841, allocations: 334.6 kB / 0.6472 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006074/0.1847, allocations: 0.5438 MB / 0.6478 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.1866, allocations: 1.704 MB / 0.6494 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1866, allocations: 0 / 0.6494 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1866, allocations: 0 / 0.6494 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.1866, allocations: 0 / 0.6494 GB, free: 4.191 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.009111/0.1957, allocations: 2.816 MB / 0.6522 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1958, allocations: 8.031 kB / 0.6522 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005173/0.201, allocations: 0.7913 MB / 0.653 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.2026, allocations: 0.8387 MB / 0.6538 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003728/0.203, allocations: 341.3 kB / 0.6541 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.2031, allocations: 79.95 kB / 0.6542 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.2054, allocations: 1.119 MB / 0.6553 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.2054, allocations: 0 / 0.6553 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/0.2055, allocations: 35.94 kB / 0.6553 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.2055, allocations: 16 kB / 0.6553 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.2077, allocations: 1.005 MB / 0.6563 GB, free: 12.97 MB / 0.5137 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.00669/0.2144, allocations: 2.875 MB / 0.6591 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007606/0.222, allocations: 2.022 MB / 0.6611 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.2234, allocations: 0.6456 MB / 0.6617 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.182e-05/0.2235, allocations: 16.98 kB / 0.6617 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001739/0.2253, allocations: 0.8389 MB / 0.6626 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 2.495e-06/0.2253, allocations: 0 / 0.6626 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.02956/0.2548, allocations: 6.951 MB / 0.6693 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.2549, allocations: 119.8 kB / 0.6695 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.2571, allocations: 1.058 MB / 0.6705 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002518/0.2574, allocations: 45.7 kB / 0.6705 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005629/0.2579, allocations: 0.4975 MB / 0.671 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000637/0.2586, allocations: 372.9 kB / 0.6714 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007629/0.2593, allocations: 275.5 kB / 0.6716 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.2595, allocations: 305.2 kB / 0.6719 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.2615, allocations: 0.8115 MB / 0.6727 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.2635, allocations: 0.9727 MB / 0.6737 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02622/0.2897, allocations: 5.762 MB / 0.6793 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.2897, allocations: 0 / 0.6793 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01507/0.3048, allocations: 4.332 MB / 0.6835 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.585e-05/0.3048, allocations: 59.41 kB / 0.6836 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.3049, allocations: 4 kB / 0.6836 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005996/0.3109, allocations: 1.515 MB / 0.6851 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.3125, allocations: 291.6 kB / 0.6853 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02151/0.334, allocations: 7.975 MB / 0.6931 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.336, allocations: 199.1 kB / 0.6933 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/0.3362, allocations: 51.98 kB / 0.6934 GB, free: 6.473 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.000869/0.3371, allocations: 304.3 kB / 0.6937 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000382/0.3375, allocations: 127.2 kB / 0.6938 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/0.3513, allocations: 3.863 MB / 0.6976 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.3514, allocations: 23.88 kB / 0.6976 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-05/0.3514, allocations: 11.98 kB / 0.6976 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/0.3514, allocations: 3.984 kB / 0.6976 GB, free: 2.094 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.3585/0.7099, allocations: 4.88 MB / 0.7024 GB, free: 59.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.7099, allocations: 0.9688 kB / 0.7024 GB, free: 59.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007101/0.7106, allocations: 103 kB / 0.7025 GB, free: 59.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006143/0.7168, allocations: 1.585 MB / 0.704 GB, free: 59.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/0.717, allocations: 22.09 kB / 0.704 GB, free: 59.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02132/0.7383, allocations: 9.188 MB / 0.713 GB, free: 55.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7383, allocations: 2.031 kB / 0.713 GB, free: 55.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/0.7538, allocations: 4.771 MB / 0.7177 GB, free: 54.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.7543, allocations: 153.7 kB / 0.7178 GB, free: 54.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/0.7547, allocations: 21.16 kB / 0.7178 GB, free: 54.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/0.7561, allocations: 105.7 kB / 0.7179 GB, free: 54.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007617/0.7569, allocations: 205.3 kB / 0.7181 GB, free: 54.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.757, allocations: 29.94 kB / 0.7182 GB, free: 54.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001375/0.7584, allocations: 0.7133 MB / 0.7188 GB, free: 53.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7584, allocations: 0 / 0.7188 GB, free: 53.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001965/0.7604, allocations: 476.8 kB / 0.7193 GB, free: 53.8 MB / 0.545 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.0003398/0.7607, allocations: 139.2 kB / 0.7194 GB, free: 53.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006321/0.767, allocations: 2.435 MB / 0.7218 GB, free: 52.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.767, allocations: 1.25 kB / 0.7218 GB, free: 52.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004421/0.7714, allocations: 1.548 MB / 0.7233 GB, free: 51.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.7728, allocations: 118.2 kB / 0.7234 GB, free: 51.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/0.7772, allocations: 2.313 MB / 0.7257 GB, free: 50.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/0.7779, allocations: 0.5274 MB / 0.7262 GB, free: 50.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005002/0.7784, allocations: 117 kB / 0.7263 GB, free: 50.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/0.7787, allocations: 84.22 kB / 0.7264 GB, free: 50.44 MB / 0.545 GB Notification: Performance of SimCode: time 7.91e-07/0.7787, allocations: 1.438 kB / 0.7264 GB, free: 50.44 MB / 0.545 GB Notification: Performance of Templates: time 0.03415/0.8129, allocations: 25.73 MB / 0.7515 GB, free: 31.67 MB / 0.545 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 -s ida -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.872719434904866] Failed to read output from testmodel.py, exit status != 0: 0.8213343459647149 0.8319206299999999 0.642902756 Calling exit ...