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.002657/0.002657, allocations: 93.47 kB / 19.44 MB, free: 336 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.592/1.592, allocations: 177.1 MB / 199.7 MB, free: 5.816 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.002223/0.002223, allocations: 164.6 kB / 256.3 MB, free: 13.18 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.4968/0.4968, allocations: 80.25 MB / 393 MB, free: 2.23 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 4.779e-06/4.779e-06, allocations: 4 kB / 489.1 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.64e-05, allocations: 2.312 kB / 489.1 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.008963/0.008999, allocations: 6.252 MB / 495.4 MB, free: 5.625 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004815/0.01381, allocations: 1.958 MB / 497.3 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008539/0.01467, allocations: 12.72 kB / 497.3 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000817/0.01549, allocations: 237.8 kB / 497.6 MB, free: 3.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002585/0.01807, allocations: 0.8647 MB / 498.4 MB, free: 2.566 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.01964, allocations: 0.6493 MB / 499.1 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002385/0.02202, allocations: 1.584 MB / 0.4889 GB, free: 344 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004511/0.02247, allocations: 208.5 kB / 0.4891 GB, free: 124 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.02393, allocations: 0.9039 MB / 0.49 GB, free: 15.21 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009887/0.02492, allocations: 0.6698 MB / 0.4907 GB, free: 14.54 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.02514, allocations: 120.6 kB / 0.4908 GB, free: 14.43 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006316/0.02578, allocations: 275.8 kB / 0.491 GB, free: 14.16 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003892/0.02616, allocations: 335.7 kB / 0.4914 GB, free: 13.83 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005686/0.02673, allocations: 458.5 kB / 0.4918 GB, free: 13.38 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.02907, allocations: 1.736 MB / 0.4935 GB, free: 11.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.02908, allocations: 5.875 kB / 0.4935 GB, free: 11.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.02908, allocations: 0 / 0.4935 GB, free: 11.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.0291, allocations: 0 / 0.4935 GB, free: 11.63 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.01042/0.03952, allocations: 3.055 MB / 0.4965 GB, free: 8.543 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.03956, allocations: 12.03 kB / 0.4965 GB, free: 8.531 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005413/0.04498, allocations: 0.9242 MB / 0.4974 GB, free: 7.613 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.04688, allocations: 0.8374 MB / 0.4982 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004032/0.04728, allocations: 333.2 kB / 0.4985 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.04747, allocations: 88 kB / 0.4986 GB, free: 6.273 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.0499, allocations: 1.102 MB / 0.4997 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.04992, allocations: 0 / 0.4997 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.05003, allocations: 35.94 kB / 0.4997 GB, free: 5.113 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.05005, allocations: 23.98 kB / 0.4998 GB, free: 5.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.05242, allocations: 0.9542 MB / 0.5007 GB, free: 4.129 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.00779/0.06021, allocations: 3.151 MB / 0.5038 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006313/0.06652, allocations: 1.594 MB / 0.5053 GB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.06808, allocations: 0.6169 MB / 0.5059 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.0682, allocations: 21 kB / 0.5059 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001815/0.07002, allocations: 0.85 MB / 0.5068 GB, free: 13.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 2.655e-06/0.07002, allocations: 0 / 0.5068 GB, free: 13.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.02821/0.09823, allocations: 6.126 MB / 0.5128 GB, free: 7.586 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.09834, allocations: 115.8 kB / 0.5129 GB, free: 7.445 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.1004, allocations: 1.245 MB / 0.5141 GB, free: 6.184 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002537/0.1007, allocations: 49.73 kB / 0.5141 GB, free: 6.129 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007537/0.1014, allocations: 0.59 MB / 0.5147 GB, free: 5.531 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005846/0.102, allocations: 396.8 kB / 0.5151 GB, free: 5.141 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006392/0.1027, allocations: 333.1 kB / 0.5154 GB, free: 4.809 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002558/0.1029, allocations: 484.6 kB / 0.5159 GB, free: 4.332 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.1046, allocations: 0.7491 MB / 0.5166 GB, free: 3.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.1066, allocations: 0.997 MB / 0.5176 GB, free: 2.508 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005479/0.112, allocations: 2.707 MB / 0.5202 GB, free: 15.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.1121, allocations: 3.938 kB / 0.5202 GB, free: 15.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01385/0.1259, allocations: 3.96 MB / 0.5241 GB, free: 11.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.294e-05/0.126, allocations: 63.39 kB / 0.5241 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.126, allocations: 4 kB / 0.5241 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/0.1363, allocations: 1.905 MB / 0.526 GB, free: 9.719 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.138, allocations: 287.6 kB / 0.5263 GB, free: 9.438 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/0.159, allocations: 8.047 MB / 0.5341 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/0.1609, allocations: 167.1 kB / 0.5343 GB, free: 1.098 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.1611, allocations: 59.97 kB / 0.5344 GB, free: 1.039 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.0007574/0.1619, allocations: 341.6 kB / 0.5347 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003756/0.1622, allocations: 159.2 kB / 0.5348 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.1749, allocations: 3.435 MB / 0.5382 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/0.1749, allocations: 12 kB / 0.5382 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.1749, allocations: 8 kB / 0.5382 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.412e-05/0.175, allocations: 11.92 kB / 0.5382 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/0.1905, allocations: 4.706 MB / 0.5428 GB, free: 8.262 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.1905, allocations: 4 kB / 0.5428 GB, free: 8.258 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006983/0.1912, allocations: 107.9 kB / 0.5429 GB, free: 8.152 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0104/0.2016, allocations: 2.021 MB / 0.5449 GB, free: 6.121 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002765/0.2019, allocations: 20 kB / 0.5449 GB, free: 6.102 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02284/0.2247, allocations: 9.888 MB / 0.5546 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2247, allocations: 0 / 0.5546 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01625/0.241, allocations: 4.37 MB / 0.5588 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007496/0.2417, allocations: 147 kB / 0.559 GB, free: 7.387 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/0.2419, allocations: 16 kB / 0.559 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.2431, allocations: 75.92 kB / 0.5591 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008051/0.2439, allocations: 204.6 kB / 0.5593 GB, free: 7.098 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.866e-05/0.244, allocations: 35.98 kB / 0.5593 GB, free: 7.062 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001311/0.2453, allocations: 0.7813 MB / 0.5601 GB, free: 6.273 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2453, allocations: 0 / 0.5601 GB, free: 6.273 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001801/0.2471, allocations: 475.5 kB / 0.5605 GB, free: 5.809 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.0003934/0.2475, allocations: 143 kB / 0.5606 GB, free: 5.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006727/0.2542, allocations: 2.45 MB / 0.563 GB, free: 3.141 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2542, allocations: 0 / 0.563 GB, free: 3.141 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004838/0.2591, allocations: 1.606 MB / 0.5646 GB, free: 1.477 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.2606, allocations: 143.1 kB / 0.5647 GB, free: 1.336 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/0.2657, allocations: 2.22 MB / 0.5669 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007466/0.2665, allocations: 0.5276 MB / 0.5674 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000513/0.267, allocations: 116 kB / 0.5675 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.2673, allocations: 84.47 kB / 0.5676 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of SimCode: time 2.043e-06/0.2673, allocations: 0 / 0.5676 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.05106/0.3184, allocations: 26.84 MB / 0.5938 GB, free: 3.602 MB / 0.5105 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: 7.110676897922531]