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.0008792/0.0008792, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.9816/0.9816, allocations: 177.2 MB / 200.3 MB, free: 5.672 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.001082/0.001082, allocations: 152.6 kB / 257 MB, free: 12.96 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.4481/0.4481, allocations: 83.31 MB / 343.6 MB, free: 6.723 MB / 314.7 MB " [Timeout remaining time 180] 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.623e-06/1.623e-06, allocations: 0 / 387.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.559e-05, allocations: 2.312 kB / 387.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.00554/0.005566, allocations: 5.845 MB / 393.8 MB, free: 4.816 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004835/0.0104, allocations: 1.943 MB / 395.7 MB, free: 2.867 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.01148, allocations: 12 kB / 395.7 MB, free: 2.855 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006073/0.01209, allocations: 222 kB / 396 MB, free: 2.637 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.01424, allocations: 0.8347 MB / 396.8 MB, free: 1.797 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.01544, allocations: 0.5767 MB / 397.4 MB, free: 1.219 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.0174, allocations: 1.42 MB / 398.8 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004244/0.01782, allocations: 198.3 kB / 399 MB, free: 15.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.01937, allocations: 0.8297 MB / 399.8 MB, free: 14.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008367/0.02021, allocations: 0.6153 MB / 400.4 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.02043, allocations: 104 kB / 400.5 MB, free: 14.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005196/0.02095, allocations: 263.6 kB / 400.8 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.02117, allocations: 294.7 kB / 401.1 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003823/0.02155, allocations: 418.6 kB / 401.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.0231, allocations: 1.124 MB / 402.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.0231, allocations: 0 / 402.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.0231, allocations: 0 / 402.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.524e-05/0.02314, allocations: 0 / 402.6 MB, free: 11.95 MB / 378.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.004498/0.02764, allocations: 2.486 MB / 405.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.02768, allocations: 8.031 kB / 405.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002712/0.0304, allocations: 0.9519 MB / 406.1 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.03152, allocations: 0.5343 MB / 406.6 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.03177, allocations: 358.9 kB / 406.9 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.0319, allocations: 76 kB / 407 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009779/0.03287, allocations: 0.745 MB / 407.8 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.03289, allocations: 3.938 kB / 407.8 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/0.03295, allocations: 28 kB / 407.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.03297, allocations: 19.94 kB / 407.8 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.03344, allocations: 292.9 kB / 408.1 MB, free: 6.293 MB / 378.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.003018/0.03646, allocations: 1.758 MB / 409.9 MB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.03866, allocations: 1.043 MB / 410.9 MB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.03894, allocations: 223.5 kB / 411.1 MB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.104e-05/0.03902, allocations: 20.64 kB / 411.1 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.03906, allocations: 43.22 kB / 411.2 MB, free: 3.137 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 4.749e-06/0.03906, allocations: 0 / 411.2 MB, free: 3.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.01011/0.04917, allocations: 4.301 MB / 415.5 MB, free: 14.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/0.04926, allocations: 98.08 kB / 415.6 MB, free: 14.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008505/0.05012, allocations: 0.782 MB / 416.4 MB, free: 13.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.05023, allocations: 45.7 kB / 416.4 MB, free: 13.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.05058, allocations: 331.2 kB / 416.7 MB, free: 13.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.05085, allocations: 333.2 kB / 417.1 MB, free: 13.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.05112, allocations: 242.7 kB / 417.3 MB, free: 12.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.05123, allocations: 361.8 kB / 417.6 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.05167, allocations: 299.2 kB / 417.9 MB, free: 12.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.0522, allocations: 480.9 kB / 418.4 MB, free: 11.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.05372, allocations: 1.264 MB / 419.7 MB, free: 10.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.05373, allocations: 0 / 419.7 MB, free: 10.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004765/0.05849, allocations: 2.475 MB / 422.1 MB, free: 7.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.05853, allocations: 11.98 kB / 422.2 MB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.05855, allocations: 8 kB / 422.2 MB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004155/0.0627, allocations: 1.491 MB / 423.7 MB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/0.06356, allocations: 227.7 kB / 423.9 MB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005098/0.06866, allocations: 3.345 MB / 427.2 MB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008769/0.06953, allocations: 147.2 kB / 427.4 MB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/0.0696, allocations: 43.97 kB / 427.4 MB, free: 2.602 MB / 394.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.0003992/0.07, allocations: 190.6 kB / 427.6 MB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/0.07044, allocations: 234.2 kB / 427.8 MB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/0.07417, allocations: 2.099 MB / 429.9 MB, free: 56 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.07418, allocations: 8 kB / 429.9 MB, free: 48 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.07418, allocations: 11.98 kB / 429.9 MB, free: 36 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.07419, allocations: 3.984 kB / 429.9 MB, free: 32 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004732/0.07892, allocations: 2.706 MB / 432.7 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.07893, allocations: 0 / 432.7 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.07924, allocations: 115.8 kB / 432.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004795/0.08403, allocations: 1.555 MB / 434.3 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.989e-05/0.0841, allocations: 16 kB / 434.3 MB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006782/0.09089, allocations: 6.169 MB / 440.5 MB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.09089, allocations: 0 / 440.5 MB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005229/0.09611, allocations: 2.328 MB / 442.8 MB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.09634, allocations: 107.1 kB / 442.9 MB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.09647, allocations: 16 kB / 443 MB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.09697, allocations: 75.92 kB / 443 MB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003764/0.09735, allocations: 168.6 kB / 443.2 MB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.0974, allocations: 16 kB / 443.2 MB, free: 2.461 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003876/0.09779, allocations: 407.9 kB / 443.6 MB, free: 2.051 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09779, allocations: 0 / 443.6 MB, free: 2.051 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001081/0.09887, allocations: 435.6 kB / 444 MB, free: 1.625 MB / 410.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.0002217/0.09909, allocations: 116.3 kB / 444.1 MB, free: 1.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.1016, allocations: 1.356 MB / 445.5 MB, free: 128 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.484e-05/0.1017, allocations: 13 kB / 445.5 MB, free: 116 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1594/0.2611, allocations: 0.8259 MB / 446.3 MB, free: 62.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008616/0.2619, allocations: 331.6 kB / 446.7 MB, free: 62.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.2646, allocations: 1.816 MB / 448.5 MB, free: 61.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.2648, allocations: 219.9 kB / 448.7 MB, free: 61.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002425/0.265, allocations: 99.05 kB / 448.8 MB, free: 61.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.2652, allocations: 162.5 kB / 449 MB, free: 61.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.964e-06/0.2652, allocations: 0.8125 kB / 449 MB, free: 61.59 MB / 410.7 MB Notification: Performance of Templates: time 0.02303/0.2883, allocations: 24.02 MB / 473 MB, free: 45.95 MB / 410.7 MB " [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: 3.8467727499082685]