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.001434/0.001434, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.493/1.493, allocations: 177.1 MB / 199.7 MB, free: 5.812 MB / 186.7 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.001644/0.001644, allocations: 164.7 kB / 256.3 MB, free: 13.17 MB / 250.7 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.4586/0.4586, allocations: 80.26 MB / 393 MB, free: 2.227 MB / 314.7 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: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 489.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.288e-05, allocations: 3.594 kB / 489.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.009595/0.009628, allocations: 5.837 MB / 494.9 MB, free: 6.074 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00563/0.01526, allocations: 1.933 MB / 496.9 MB, free: 4.148 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.01645, allocations: 12 kB / 496.9 MB, free: 4.137 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.0177, allocations: 237.8 kB / 497.1 MB, free: 3.902 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003456/0.02116, allocations: 0.8664 MB / 498 MB, free: 3.043 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.02311, allocations: 0.6333 MB / 498.6 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002954/0.02606, allocations: 1.582 MB / 0.4885 GB, free: 0.832 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007163/0.02678, allocations: 210.9 kB / 0.4887 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.02927, allocations: 0.904 MB / 0.4896 GB, free: 15.7 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.03086, allocations: 0.6698 MB / 0.4902 GB, free: 15.03 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005143/0.03137, allocations: 121.8 kB / 0.4903 GB, free: 14.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.0324, allocations: 271.8 kB / 0.4906 GB, free: 14.65 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.03282, allocations: 338.5 kB / 0.4909 GB, free: 14.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007288/0.03355, allocations: 454.5 kB / 0.4913 GB, free: 13.87 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002845/0.03639, allocations: 1.734 MB / 0.493 GB, free: 12.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.0364, allocations: 0 / 0.493 GB, free: 12.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.0364, allocations: 0 / 0.493 GB, free: 12.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.567e-05/0.03644, allocations: 3.938 kB / 0.493 GB, free: 12.13 MB / 426.7 MB 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.0105/0.04694, allocations: 2.802 MB / 0.4958 GB, free: 9.301 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.04699, allocations: 9.625 kB / 0.4958 GB, free: 9.293 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005616/0.05261, allocations: 0.9158 MB / 0.4967 GB, free: 8.383 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.05475, allocations: 0.8425 MB / 0.4975 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004618/0.05521, allocations: 341.2 kB / 0.4978 GB, free: 7.117 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.05543, allocations: 84 kB / 0.4979 GB, free: 7.035 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.05807, allocations: 1.112 MB / 0.499 GB, free: 5.902 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.05809, allocations: 8 kB / 0.499 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.0582, allocations: 31.94 kB / 0.499 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.05823, allocations: 20 kB / 0.499 GB, free: 5.844 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.06065, allocations: 1.013 MB / 0.5 GB, free: 4.824 MB / 426.7 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.007999/0.06865, allocations: 2.898 MB / 0.5029 GB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008272/0.07692, allocations: 2.01 MB / 0.5048 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.07862, allocations: 0.6426 MB / 0.5055 GB, free: 15.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.07874, allocations: 21 kB / 0.5055 GB, free: 15.15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001952/0.08069, allocations: 0.839 MB / 0.5063 GB, free: 14.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 2.475e-06/0.08069, allocations: 0 / 0.5063 GB, free: 14.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.03156/0.1122, allocations: 6.993 MB / 0.5131 GB, free: 7.258 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.1124, allocations: 115.8 kB / 0.5132 GB, free: 7.117 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.1144, allocations: 1.054 MB / 0.5143 GB, free: 6.047 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002314/0.1146, allocations: 49.73 kB / 0.5143 GB, free: 5.992 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000531/0.1151, allocations: 0.5014 MB / 0.5148 GB, free: 5.484 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005207/0.1157, allocations: 372.9 kB / 0.5152 GB, free: 5.117 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005915/0.1163, allocations: 271.5 kB / 0.5154 GB, free: 4.848 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1164, allocations: 309 kB / 0.5157 GB, free: 4.543 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/0.1184, allocations: 0.8037 MB / 0.5165 GB, free: 3.727 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002054/0.1204, allocations: 0.9766 MB / 0.5175 GB, free: 2.699 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02706/0.1475, allocations: 5.758 MB / 0.5231 GB, free: 12.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.1475, allocations: 0 / 0.5231 GB, free: 12.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.0154/0.1629, allocations: 4.41 MB / 0.5274 GB, free: 8.406 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.845e-05/0.163, allocations: 59.39 kB / 0.5274 GB, free: 8.336 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.163, allocations: 4 kB / 0.5274 GB, free: 8.332 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01177/0.1748, allocations: 2.234 MB / 0.5296 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.1764, allocations: 299.5 kB / 0.5299 GB, free: 5.801 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02252/0.1989, allocations: 7.992 MB / 0.5377 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/0.2009, allocations: 195.1 kB / 0.5379 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.2011, allocations: 59.97 kB / 0.538 GB, free: 13.45 MB / 474.7 MB 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.0006884/0.2018, allocations: 300.3 kB / 0.5382 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.2022, allocations: 159.2 kB / 0.5384 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/0.2168, allocations: 3.867 MB / 0.5422 GB, free: 9.078 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.678e-05/0.2168, allocations: 8 kB / 0.5422 GB, free: 9.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.2168, allocations: 8 kB / 0.5422 GB, free: 9.062 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-05/0.2168, allocations: 7.984 kB / 0.5422 GB, free: 9.055 MB / 474.7 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 postOpt removeSimpleEquations (simulation): time 0.01728/0.2341, allocations: 4.911 MB / 0.547 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.2341, allocations: 0 / 0.547 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007127/0.2348, allocations: 99.89 kB / 0.5471 GB, free: 3.984 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01204/0.2469, allocations: 2.355 MB / 0.5494 GB, free: 1.621 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002636/0.2472, allocations: 31.92 kB / 0.5494 GB, free: 1.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02363/0.2708, allocations: 9.227 MB / 0.5584 GB, free: 8.137 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2708, allocations: 4 kB / 0.5584 GB, free: 8.133 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/0.2869, allocations: 4.786 MB / 0.5631 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004461/0.2874, allocations: 151 kB / 0.5632 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.2876, allocations: 20.08 kB / 0.5633 GB, free: 3.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.2887, allocations: 107.8 kB / 0.5634 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006646/0.2894, allocations: 212.6 kB / 0.5636 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.412e-05/0.2895, allocations: 32.06 kB / 0.5636 GB, free: 2.789 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001266/0.2908, allocations: 0.711 MB / 0.5643 GB, free: 2.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2908, allocations: 0 / 0.5643 GB, free: 2.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001461/0.2922, allocations: 475.6 kB / 0.5647 GB, free: 1.605 MB / 490.7 MB 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.0003261/0.2925, allocations: 146 kB / 0.5649 GB, free: 1.457 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006882/0.2994, allocations: 2.435 MB / 0.5673 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2994, allocations: 4.125 kB / 0.5673 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004912/0.3043, allocations: 1.543 MB / 0.5688 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3054, allocations: 138.8 kB / 0.5689 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/0.3098, allocations: 2.226 MB / 0.5711 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/0.3104, allocations: 0.5276 MB / 0.5716 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00046/0.3109, allocations: 119.9 kB / 0.5717 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.3112, allocations: 80.48 kB / 0.5718 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of SimCode: time 1.542e-06/0.3112, allocations: 0 / 0.5718 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of Templates: time 0.04657/0.3577, allocations: 25.79 MB / 0.597 GB, free: 0.5547 MB / 0.5105 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: 6.660911719081923]