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.001041/0.001041, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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 0.9542/0.9542, allocations: 177.1 MB / 200.2 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.001248/0.001248, allocations: 156.7 kB / 256.9 MB, free: 12.97 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.28/0.28, allocations: 80.25 MB / 393.7 MB, free: 1.992 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 1.463e-06/1.463e-06, allocations: 0 / 490.3 MB, free: 11.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.77e-05, allocations: 6.031 kB / 490.3 MB, free: 11.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.00498/0.004997, allocations: 6.168 MB / 496.4 MB, free: 5.094 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.007615, allocations: 1.959 MB / 498.4 MB, free: 3.141 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/0.007929, allocations: 12 kB / 498.4 MB, free: 3.129 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005123/0.008441, allocations: 238.8 kB / 498.6 MB, free: 2.895 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.009685, allocations: 0.8658 MB / 499.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008867/0.01057, allocations: 0.6504 MB / 0.4884 GB, free: 1.391 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.01172, allocations: 1.584 MB / 0.49 GB, free: 15.8 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.01199, allocations: 206.9 kB / 0.4902 GB, free: 15.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00071/0.0127, allocations: 0.9121 MB / 0.4911 GB, free: 14.67 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005621/0.01326, allocations: 0.6664 MB / 0.4917 GB, free: 14 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.01339, allocations: 125.2 kB / 0.4918 GB, free: 13.88 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003618/0.01375, allocations: 271.8 kB / 0.4921 GB, free: 13.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.01395, allocations: 334.5 kB / 0.4924 GB, free: 13.29 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002667/0.01422, allocations: 459.9 kB / 0.4928 GB, free: 12.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.01525, allocations: 1.229 MB / 0.494 GB, free: 11.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01525, allocations: 0 / 0.494 GB, free: 11.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01525, allocations: 0 / 0.494 GB, free: 11.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.01526, allocations: 0.625 kB / 0.494 GB, free: 11.61 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.004328/0.01959, allocations: 2.927 MB / 0.4969 GB, free: 8.645 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.01962, allocations: 8.031 kB / 0.4969 GB, free: 8.637 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.02211, allocations: 0.9307 MB / 0.4978 GB, free: 7.715 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/0.02286, allocations: 0.7794 MB / 0.4986 GB, free: 6.895 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.02303, allocations: 337.3 kB / 0.4989 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.02314, allocations: 80 kB / 0.499 GB, free: 6.434 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007121/0.02385, allocations: 0.6796 MB / 0.4996 GB, free: 5.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.02387, allocations: 3.938 kB / 0.4996 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.02392, allocations: 35.94 kB / 0.4997 GB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.02394, allocations: 20 kB / 0.4997 GB, free: 5.672 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.0244, allocations: 399.3 kB / 0.5001 GB, free: 5.277 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.003074/0.02748, allocations: 2.599 MB / 0.5026 GB, free: 2.613 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.02967, allocations: 1.177 MB / 0.5038 GB, free: 1.402 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/0.03012, allocations: 283.9 kB / 0.504 GB, free: 1.113 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.835e-05/0.03019, allocations: 21 kB / 0.5041 GB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000466/0.03066, allocations: 494.4 kB / 0.5045 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 1.784e-06/0.03066, allocations: 0 / 0.5045 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.01024/0.0409, allocations: 4.813 MB / 0.5092 GB, free: 11.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.04095, allocations: 119.8 kB / 0.5093 GB, free: 11.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.04156, allocations: 0.9359 MB / 0.5103 GB, free: 10.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.757e-05/0.04163, allocations: 45.7 kB / 0.5103 GB, free: 10.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.04204, allocations: 0.5585 MB / 0.5109 GB, free: 10.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.04225, allocations: 372.8 kB / 0.5112 GB, free: 9.648 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/0.04254, allocations: 301 kB / 0.5115 GB, free: 9.348 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.04264, allocations: 492.6 kB / 0.512 GB, free: 8.863 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/0.0431, allocations: 399.2 kB / 0.5123 GB, free: 8.461 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005849/0.04368, allocations: 0.6064 MB / 0.5129 GB, free: 7.789 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.04522, allocations: 1.551 MB / 0.5145 GB, free: 6.152 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.04523, allocations: 8 kB / 0.5145 GB, free: 6.145 MB / 442.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004721/0.04995, allocations: 2.949 MB / 0.5173 GB, free: 3.156 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.04999, allocations: 63.41 kB / 0.5174 GB, free: 3.082 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.05, allocations: 4 kB / 0.5174 GB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00397/0.05397, allocations: 1.499 MB / 0.5189 GB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/0.05465, allocations: 295.5 kB / 0.5191 GB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005169/0.05982, allocations: 4.184 MB / 0.5232 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006965/0.06052, allocations: 167.1 kB / 0.5234 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/0.06059, allocations: 47.97 kB / 0.5234 GB, free: 12.77 MB / 458.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 (161): * Single equations (assignments): 158 * 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.0003286/0.06092, allocations: 268.9 kB / 0.5237 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.06109, allocations: 163.1 kB / 0.5239 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/0.06543, allocations: 2.447 MB / 0.5262 GB, free: 9.844 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.06544, allocations: 12 kB / 0.5263 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.06544, allocations: 4 kB / 0.5263 GB, free: 9.828 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.06545, allocations: 3.984 kB / 0.5263 GB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005407/0.07086, allocations: 3.408 MB / 0.5296 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.07086, allocations: 4.031 kB / 0.5296 GB, free: 6.352 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.07115, allocations: 103.8 kB / 0.5297 GB, free: 6.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003976/0.07513, allocations: 1.599 MB / 0.5313 GB, free: 4.641 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.07519, allocations: 28 kB / 0.5313 GB, free: 4.613 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006415/0.0816, allocations: 6.231 MB / 0.5374 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.0816, allocations: 0 / 0.5374 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004756/0.08636, allocations: 2.854 MB / 0.5402 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.08653, allocations: 139 kB / 0.5403 GB, free: 11.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.339e-05/0.08663, allocations: 16 kB / 0.5403 GB, free: 11.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.08704, allocations: 83.92 kB / 0.5404 GB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/0.08734, allocations: 192.6 kB / 0.5406 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.08738, allocations: 16 kB / 0.5406 GB, free: 10.79 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003931/0.08777, allocations: 0.5623 MB / 0.5411 GB, free: 10.22 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08777, allocations: 0 / 0.5411 GB, free: 10.22 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001016/0.08879, allocations: 475.6 kB / 0.5416 GB, free: 9.754 MB / 474.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.0002225/0.08901, allocations: 139.1 kB / 0.5417 GB, free: 9.609 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002196/0.09121, allocations: 1.719 MB / 0.5434 GB, free: 7.824 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.09121, allocations: 0 / 0.5434 GB, free: 7.824 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.09278, allocations: 1.243 MB / 0.5446 GB, free: 6.52 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.09327, allocations: 145 kB / 0.5447 GB, free: 6.383 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.09664, allocations: 2.048 MB / 0.5467 GB, free: 4.293 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.09689, allocations: 241.5 kB / 0.547 GB, free: 4.035 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003387/0.09723, allocations: 112 kB / 0.5471 GB, free: 3.922 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.09765, allocations: 206.2 kB / 0.5473 GB, free: 3.719 MB / 474.7 MB Notification: Performance of SimCode: time 1.052e-06/0.09765, allocations: 0 / 0.5473 GB, free: 3.719 MB / 474.7 MB Notification: Performance of Templates: time 0.0323/0.13, allocations: 27.83 MB / 0.5745 GB, free: 8.117 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7903028312139213]