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.001428/0.001428, allocations: 92.7 kB / 19.44 MB, free: 324 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.467/1.467, allocations: 177.1 MB / 199.7 MB, free: 5.793 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.001882/0.001882, allocations: 156.7 kB / 256.3 MB, free: 13.16 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.4625/0.4625, allocations: 80.26 MB / 393 MB, free: 2.211 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.663e-06/1.663e-06, allocations: 0 / 489.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.939e-05, allocations: 3.719 kB / 489.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007949/0.007979, allocations: 5.521 MB / 494.6 MB, free: 6.379 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004293/0.01227, allocations: 1.823 MB / 496.5 MB, free: 4.562 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007091/0.01298, allocations: 14.34 kB / 496.5 MB, free: 4.551 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005758/0.01356, allocations: 210.1 kB / 496.7 MB, free: 4.344 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.01603, allocations: 0.8161 MB / 497.5 MB, free: 3.527 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.01751, allocations: 0.5681 MB / 498.1 MB, free: 2.969 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00212/0.01963, allocations: 1.416 MB / 499.5 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004477/0.02008, allocations: 184.3 kB / 499.7 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.02153, allocations: 0.8224 MB / 0.4887 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009883/0.02251, allocations: 0.6158 MB / 0.4893 GB, free: 15.91 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.02272, allocations: 105.8 kB / 0.4894 GB, free: 15.81 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006077/0.02332, allocations: 255.7 kB / 0.4897 GB, free: 15.56 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.02364, allocations: 290.7 kB / 0.49 GB, free: 15.28 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000518/0.02416, allocations: 418.6 kB / 0.4904 GB, free: 14.87 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.02638, allocations: 1.545 MB / 0.4919 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.02638, allocations: 4.906 kB / 0.4919 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.02639, allocations: 0 / 0.4919 GB, free: 13.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.359e-05/0.02641, allocations: 1.75 kB / 0.4919 GB, free: 13.31 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.009475/0.03588, allocations: 2.459 MB / 0.4943 GB, free: 10.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.03593, allocations: 8.031 kB / 0.4943 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005301/0.04123, allocations: 0.8914 MB / 0.4952 GB, free: 9.945 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.04297, allocations: 0.749 MB / 0.4959 GB, free: 9.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004866/0.04345, allocations: 370.9 kB / 0.4962 GB, free: 8.738 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002478/0.0437, allocations: 79.95 kB / 0.4963 GB, free: 8.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/0.04671, allocations: 1.162 MB / 0.4975 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.04673, allocations: 0 / 0.4975 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.04685, allocations: 32 kB / 0.4975 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.04687, allocations: 23.94 kB / 0.4975 GB, free: 7.414 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.0494, allocations: 0.942 MB / 0.4984 GB, free: 6.473 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.007784/0.05719, allocations: 2.664 MB / 0.501 GB, free: 3.738 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00817/0.06536, allocations: 1.916 MB / 0.5029 GB, free: 1.801 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.06707, allocations: 0.599 MB / 0.5035 GB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.06722, allocations: 28.64 kB / 0.5035 GB, free: 1.172 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.06726, allocations: 47.09 kB / 0.5036 GB, free: 1.117 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 3.196e-06/0.06727, allocations: 0 / 0.5036 GB, free: 1.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.03164/0.09891, allocations: 6.724 MB / 0.5101 GB, free: 10.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.09906, allocations: 105.1 kB / 0.5102 GB, free: 10.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.1009, allocations: 0.9405 MB / 0.5111 GB, free: 9.289 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002351/0.1011, allocations: 41.7 kB / 0.5112 GB, free: 9.242 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/0.1016, allocations: 461.3 kB / 0.5116 GB, free: 8.789 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/0.102, allocations: 329.2 kB / 0.5119 GB, free: 8.465 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005235/0.1025, allocations: 234.8 kB / 0.5122 GB, free: 8.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.1027, allocations: 357.9 kB / 0.5125 GB, free: 7.875 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.1044, allocations: 0.6826 MB / 0.5132 GB, free: 7.191 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/0.1064, allocations: 0.86 MB / 0.514 GB, free: 6.281 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02561/0.132, allocations: 5.196 MB / 0.5191 GB, free: 1.027 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/0.132, allocations: 0 / 0.5191 GB, free: 1.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.01498/0.147, allocations: 4.098 MB / 0.5231 GB, free: 12.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.1471, allocations: 10.66 kB / 0.5231 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.1471, allocations: 4 kB / 0.5231 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01166/0.1587, allocations: 2.249 MB / 0.5253 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.1601, allocations: 235.6 kB / 0.5255 GB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/0.1827, allocations: 7.987 MB / 0.5333 GB, free: 2.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.1843, allocations: 171.3 kB / 0.5335 GB, free: 2.152 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.1845, allocations: 47.92 kB / 0.5335 GB, free: 2.105 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 (137): * Single equations (assignments): 136 * 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 {(19,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000638/0.1851, allocations: 254.7 kB / 0.5338 GB, free: 1.848 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/0.1863, allocations: 365.5 kB / 0.5341 GB, free: 1.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/0.1999, allocations: 3.561 MB / 0.5376 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/0.2, allocations: 12 kB / 0.5376 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.2, allocations: 8 kB / 0.5376 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.73e-05/0.2, allocations: 7.922 kB / 0.5376 GB, free: 13.87 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.01634/0.2163, allocations: 4.566 MB / 0.5421 GB, free: 9.254 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.2164, allocations: 4 kB / 0.5421 GB, free: 9.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007059/0.2171, allocations: 111.8 kB / 0.5422 GB, free: 9.141 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01191/0.229, allocations: 2.339 MB / 0.5445 GB, free: 6.793 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/0.2292, allocations: 19.98 kB / 0.5445 GB, free: 6.773 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02325/0.2524, allocations: 10.37 MB / 0.5546 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2524, allocations: 0 / 0.5546 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/0.2689, allocations: 4.606 MB / 0.5591 GB, free: 7.496 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/0.2693, allocations: 135.1 kB / 0.5593 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.2695, allocations: 16.25 kB / 0.5593 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.2705, allocations: 91.91 kB / 0.5594 GB, free: 7.258 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006047/0.2711, allocations: 188.6 kB / 0.5595 GB, free: 7.074 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.896e-05/0.2712, allocations: 20 kB / 0.5596 GB, free: 7.055 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009912/0.2722, allocations: 0.6308 MB / 0.5602 GB, free: 6.414 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2722, allocations: 0 / 0.5602 GB, free: 6.414 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001423/0.2736, allocations: 435.6 kB / 0.5606 GB, free: 5.988 MB / 490.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.0003162/0.2739, allocations: 139.1 kB / 0.5607 GB, free: 5.844 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006661/0.2806, allocations: 2.141 MB / 0.5628 GB, free: 3.691 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2806, allocations: 0 / 0.5628 GB, free: 3.691 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004296/0.2849, allocations: 1.253 MB / 0.564 GB, free: 2.418 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.2865, allocations: 366.6 kB / 0.5644 GB, free: 2.047 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.2908, allocations: 2.033 MB / 0.5664 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.2914, allocations: 489.8 kB / 0.5668 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003844/0.2918, allocations: 95.06 kB / 0.5669 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.2921, allocations: 80.47 kB / 0.567 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of SimCode: time 9.62e-07/0.2921, allocations: 0 / 0.567 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.04251/0.3346, allocations: 23.5 MB / 0.5899 GB, free: 7.902 MB / 0.5105 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=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.978150521055795]