Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001244/0.001244, 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.9568/0.9568, allocations: 177.1 MB / 200.3 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.001254/0.001254, allocations: 168.6 kB / 256.9 MB, free: 12.98 MB / 250.7 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.2856/0.2856, allocations: 83.3 MB / 396.7 MB, free: 14.99 MB / 330.7 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_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 494.4 MB, free: 7.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.733e-05, allocations: 7.594 kB / 494.4 MB, free: 7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.006228/0.006246, allocations: 5.842 MB / 0.4885 GB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.009412, allocations: 1.857 MB / 0.4903 GB, free: 15.29 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004936/0.009906, allocations: 11.94 kB / 0.4903 GB, free: 15.28 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.01026, allocations: 206.1 kB / 0.4905 GB, free: 15.07 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.01163, allocations: 0.825 MB / 0.4913 GB, free: 14.25 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009247/0.01255, allocations: 0.5807 MB / 0.4919 GB, free: 13.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.0138, allocations: 1.424 MB / 0.4933 GB, free: 12.25 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.01409, allocations: 184.4 kB / 0.4935 GB, free: 12.07 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009047/0.01499, allocations: 0.8336 MB / 0.4943 GB, free: 11.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005808/0.01557, allocations: 0.6123 MB / 0.4949 GB, free: 10.62 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.01572, allocations: 105 kB / 0.495 GB, free: 10.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003595/0.01608, allocations: 251.7 kB / 0.4952 GB, free: 10.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.01625, allocations: 294.7 kB / 0.4955 GB, free: 9.98 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.01654, allocations: 416.4 kB / 0.4959 GB, free: 9.574 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009955/0.01754, allocations: 1.136 MB / 0.497 GB, free: 8.434 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.01754, allocations: 0 / 0.497 GB, free: 8.434 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01754, allocations: 0 / 0.497 GB, free: 8.434 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.01755, allocations: 3.984 kB / 0.497 GB, free: 8.43 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.003984/0.02154, allocations: 2.599 MB / 0.4995 GB, free: 5.816 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.02158, allocations: 12.03 kB / 0.4995 GB, free: 5.805 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/0.02405, allocations: 0.9007 MB / 0.5004 GB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006967/0.02475, allocations: 0.7009 MB / 0.5011 GB, free: 4.168 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.02494, allocations: 358.9 kB / 0.5015 GB, free: 3.758 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.992e-05/0.02504, allocations: 79.89 kB / 0.5015 GB, free: 3.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000832/0.02587, allocations: 0.7445 MB / 0.5023 GB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.02588, allocations: 0 / 0.5023 GB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/0.02594, allocations: 28 kB / 0.5023 GB, free: 2.867 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.02595, allocations: 19.94 kB / 0.5023 GB, free: 2.848 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.02641, allocations: 352.8 kB / 0.5026 GB, free: 2.504 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.002783/0.0292, allocations: 2.453 MB / 0.505 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/0.03135, allocations: 1.12 MB / 0.5061 GB, free: 14.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.03163, allocations: 253.2 kB / 0.5064 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.704e-05/0.03169, allocations: 24.58 kB / 0.5064 GB, free: 14.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.03172, allocations: 46.05 kB / 0.5064 GB, free: 14.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=92): time 1.644e-06/0.03172, allocations: 4 kB / 0.5064 GB, free: 14.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.00982/0.04154, allocations: 4.548 MB / 0.5109 GB, free: 9.934 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.04159, allocations: 97.72 kB / 0.511 GB, free: 9.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005855/0.04218, allocations: 0.8644 MB / 0.5118 GB, free: 8.934 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.04224, allocations: 45.7 kB / 0.5119 GB, free: 8.883 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.0425, allocations: 0.5233 MB / 0.5124 GB, free: 8.352 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.0427, allocations: 329.2 kB / 0.5127 GB, free: 8.027 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.04297, allocations: 256.4 kB / 0.5129 GB, free: 7.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.04312, allocations: 0.5354 MB / 0.5135 GB, free: 7.227 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.04354, allocations: 319.1 kB / 0.5138 GB, free: 6.914 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.04406, allocations: 0.5477 MB / 0.5143 GB, free: 6.297 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.04547, allocations: 1.338 MB / 0.5156 GB, free: 4.887 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.04547, allocations: 0 / 0.5156 GB, free: 4.887 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004772/0.05024, allocations: 2.731 MB / 0.5183 GB, free: 2.141 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.05026, allocations: 12 kB / 0.5183 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.05028, allocations: 4 kB / 0.5183 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003772/0.05405, allocations: 1.523 MB / 0.5198 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.05467, allocations: 235.6 kB / 0.52 GB, free: 376 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005354/0.06002, allocations: 4.16 MB / 0.5241 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/0.06059, allocations: 151.2 kB / 0.5242 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.06065, allocations: 43.97 kB / 0.5242 GB, free: 11.89 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: 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.0002992/0.06095, allocations: 233.4 kB / 0.5245 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004285/0.06138, allocations: 308.3 kB / 0.5248 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004081/0.06546, allocations: 2.248 MB / 0.527 GB, free: 9.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.06546, allocations: 8 kB / 0.527 GB, free: 9.062 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.06547, allocations: 8 kB / 0.527 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.06548, allocations: 3.984 kB / 0.527 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004849/0.07033, allocations: 3.091 MB / 0.53 GB, free: 5.914 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.07034, allocations: 7.984 kB / 0.53 GB, free: 5.906 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.0706, allocations: 107.9 kB / 0.5301 GB, free: 5.801 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003667/0.07426, allocations: 1.58 MB / 0.5316 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-05/0.07432, allocations: 24 kB / 0.5317 GB, free: 4.188 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006421/0.08074, allocations: 8.357 MB / 0.5398 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.08074, allocations: 8 kB / 0.5398 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004407/0.08515, allocations: 2.577 MB / 0.5424 GB, free: 8.926 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.0853, allocations: 127 kB / 0.5425 GB, free: 8.801 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.03e-05/0.08539, allocations: 23.98 kB / 0.5425 GB, free: 8.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.08577, allocations: 71.94 kB / 0.5426 GB, free: 8.707 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/0.08602, allocations: 164.7 kB / 0.5427 GB, free: 8.547 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.08606, allocations: 19.98 kB / 0.5427 GB, free: 8.527 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003617/0.08642, allocations: 0.5289 MB / 0.5433 GB, free: 7.988 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08642, allocations: 0 / 0.5433 GB, free: 7.988 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009246/0.08734, allocations: 431.6 kB / 0.5437 GB, free: 7.566 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.0002034/0.08755, allocations: 151 kB / 0.5438 GB, free: 7.406 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.08961, allocations: 1.479 MB / 0.5453 GB, free: 5.895 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.08961, allocations: 1 kB / 0.5453 GB, free: 5.895 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.09089, allocations: 0.9411 MB / 0.5462 GB, free: 4.934 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/0.09156, allocations: 389.8 kB / 0.5466 GB, free: 4.535 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.09415, allocations: 1.877 MB / 0.5484 GB, free: 2.621 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.0943, allocations: 221.1 kB / 0.5486 GB, free: 2.387 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.09448, allocations: 99.12 kB / 0.5487 GB, free: 2.285 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.0947, allocations: 182.2 kB / 0.5489 GB, free: 2.105 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/0.0947, allocations: 0 / 0.5489 GB, free: 2.105 MB / 474.7 MB Notification: Performance of Templates: time 0.02569/0.1204, allocations: 25.31 MB / 0.5736 GB, free: 8.996 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.124135230202228]