Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001351/0.001351, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.9666/0.9666, allocations: 177.2 MB / 201 MB, free: 5.707 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.001483/0.001483, allocations: 160.6 kB / 257.7 MB, free: 12.98 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.2929/0.2929, allocations: 80.25 MB / 394.5 MB, free: 1.988 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_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 491.1 MB, free: 11.26 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.882e-05, allocations: 2.312 kB / 491.1 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.006619/0.006648, allocations: 5.831 MB / 496.9 MB, free: 5.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.00968, allocations: 1.862 MB / 498.7 MB, free: 3.555 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003764/0.01006, allocations: 8.906 kB / 498.8 MB, free: 3.547 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.01049, allocations: 214 kB / 499 MB, free: 3.336 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.01178, allocations: 0.8262 MB / 499.8 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007826/0.01256, allocations: 0.587 MB / 0.4886 GB, free: 1.941 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.01363, allocations: 1.412 MB / 0.49 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.01386, allocations: 189.5 kB / 0.4902 GB, free: 336 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006267/0.01449, allocations: 0.8299 MB / 0.491 GB, free: 15.49 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.01498, allocations: 0.6119 MB / 0.4916 GB, free: 14.88 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.01509, allocations: 104.6 kB / 0.4917 GB, free: 14.78 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.01538, allocations: 255.8 kB / 0.492 GB, free: 14.53 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.01554, allocations: 295.2 kB / 0.4922 GB, free: 14.24 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.0158, allocations: 419.4 kB / 0.4926 GB, free: 13.83 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009659/0.01677, allocations: 1.128 MB / 0.4937 GB, free: 12.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.01677, allocations: 0.7188 kB / 0.4937 GB, free: 12.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01678, allocations: 0 / 0.4937 GB, free: 12.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.01678, allocations: 1.094 kB / 0.4937 GB, free: 12.7 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004127/0.02091, allocations: 2.602 MB / 0.4963 GB, free: 10.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.02094, allocations: 8.031 kB / 0.4963 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/0.02346, allocations: 0.8976 MB / 0.4972 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007058/0.02417, allocations: 0.7126 MB / 0.4979 GB, free: 8.426 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.02436, allocations: 351 kB / 0.4982 GB, free: 8.023 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.02447, allocations: 79.95 kB / 0.4983 GB, free: 7.945 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008247/0.02529, allocations: 0.7452 MB / 0.499 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.02531, allocations: 3.938 kB / 0.499 GB, free: 7.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/0.02537, allocations: 32 kB / 0.499 GB, free: 7.129 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.02538, allocations: 19.94 kB / 0.4991 GB, free: 7.109 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.02584, allocations: 348.8 kB / 0.4994 GB, free: 6.77 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.00287/0.02871, allocations: 2.488 MB / 0.5018 GB, free: 4.215 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/0.03098, allocations: 1.11 MB / 0.5029 GB, free: 3.078 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.03125, allocations: 253.2 kB / 0.5031 GB, free: 2.824 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-05/0.03132, allocations: 20.64 kB / 0.5032 GB, free: 2.805 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.03135, allocations: 46.05 kB / 0.5032 GB, free: 2.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 2.043e-06/0.03135, allocations: 0 / 0.5032 GB, free: 2.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.01253/0.04388, allocations: 4.622 MB / 0.5077 GB, free: 14.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.04394, allocations: 105.7 kB / 0.5078 GB, free: 13.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007251/0.04467, allocations: 0.8644 MB / 0.5087 GB, free: 13.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.129e-05/0.04474, allocations: 41.7 kB / 0.5087 GB, free: 13.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.04507, allocations: 0.5311 MB / 0.5092 GB, free: 12.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.04531, allocations: 325.2 kB / 0.5095 GB, free: 12.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003716/0.04568, allocations: 256.4 kB / 0.5098 GB, free: 11.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.04585, allocations: 0.5354 MB / 0.5103 GB, free: 11.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005557/0.0464, allocations: 315.1 kB / 0.5106 GB, free: 11.08 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000701/0.0471, allocations: 0.5477 MB / 0.5111 GB, free: 10.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.04899, allocations: 1.33 MB / 0.5124 GB, free: 9.062 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.049, allocations: 4 kB / 0.5124 GB, free: 9.059 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.006433/0.05543, allocations: 2.731 MB / 0.5151 GB, free: 6.312 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.05545, allocations: 8 kB / 0.5151 GB, free: 6.305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.05546, allocations: 4 kB / 0.5151 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005349/0.06081, allocations: 1.527 MB / 0.5166 GB, free: 4.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.06154, allocations: 243.6 kB / 0.5168 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007256/0.06879, allocations: 4.158 MB / 0.5209 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007543/0.06955, allocations: 139.2 kB / 0.521 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/0.06963, allocations: 35.98 kB / 0.5211 GB, free: 80 kB / 442.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: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * 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 {(20,11,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003717/0.07001, allocations: 237.2 kB / 0.5213 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005881/0.07059, allocations: 308.3 kB / 0.5216 GB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005587/0.07618, allocations: 2.252 MB / 0.5238 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.07619, allocations: 8 kB / 0.5238 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.0762, allocations: 8 kB / 0.5238 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.07621, allocations: 3.984 kB / 0.5238 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009977/0.08618, allocations: 3.099 MB / 0.5268 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.08619, allocations: 0 / 0.5268 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.08658, allocations: 119.8 kB / 0.527 GB, free: 9.973 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01149/0.09807, allocations: 1.572 MB / 0.5285 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-05/0.09815, allocations: 23.98 kB / 0.5285 GB, free: 8.367 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/0.1094, allocations: 8.355 MB / 0.5367 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1094, allocations: 0 / 0.5367 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/0.1141, allocations: 2.578 MB / 0.5392 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.1142, allocations: 135 kB / 0.5393 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.86e-05/0.1143, allocations: 16 kB / 0.5393 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.1147, allocations: 67.94 kB / 0.5394 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.115, allocations: 172.7 kB / 0.5396 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.115, allocations: 16 kB / 0.5396 GB, free: 12.71 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003758/0.1154, allocations: 0.5289 MB / 0.5401 GB, free: 12.17 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1154, allocations: 0 / 0.5401 GB, free: 12.17 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009639/0.1164, allocations: 439.6 kB / 0.5405 GB, free: 11.74 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002893/0.1167, allocations: 139 kB / 0.5406 GB, free: 11.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002213/0.1189, allocations: 1.479 MB / 0.5421 GB, free: 10.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1189, allocations: 0 / 0.5421 GB, free: 10.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.1203, allocations: 0.942 MB / 0.543 GB, free: 9.117 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007485/0.121, allocations: 377.9 kB / 0.5434 GB, free: 8.73 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.1234, allocations: 1.885 MB / 0.5452 GB, free: 6.809 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.1236, allocations: 225.1 kB / 0.5454 GB, free: 6.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.1238, allocations: 95.12 kB / 0.5455 GB, free: 6.473 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.124, allocations: 182.2 kB / 0.5457 GB, free: 6.293 MB / 474.7 MB Notification: Performance of SimCode: time 7.01e-07/0.124, allocations: 0 / 0.5457 GB, free: 6.293 MB / 474.7 MB Notification: Performance of Templates: time 0.0267/0.1507, allocations: 26.16 MB / 0.5712 GB, free: 12.25 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4525453872047365]