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.001003/0.001003, allocations: 85.17 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.9372/0.9372, allocations: 177.2 MB / 200.3 MB, free: 5.355 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.002066/0.002066, allocations: 163.3 kB / 256.9 MB, free: 12.8 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.2785/0.2785, allocations: 80.24 MB / 393.7 MB, free: 3.012 MB / 362.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.563e-06/1.563e-06, allocations: 0 / 490.3 MB, free: 62.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.125e-05, allocations: 2.312 kB / 490.3 MB, free: 62.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.004103/0.004124, allocations: 5.83 MB / 496.1 MB, free: 57.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.006946, allocations: 1.862 MB / 498 MB, free: 55.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005439/0.00749, allocations: 11.94 kB / 498 MB, free: 55.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.007905, allocations: 215.2 kB / 498.2 MB, free: 54.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.009224, allocations: 0.8236 MB / 499 MB, free: 54.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007971/0.01002, allocations: 0.571 MB / 499.6 MB, free: 53.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009693/0.01099, allocations: 1.422 MB / 0.4893 GB, free: 52.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.01127, allocations: 196.2 kB / 0.4894 GB, free: 51.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007355/0.012, allocations: 0.8259 MB / 0.4902 GB, free: 51.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004935/0.0125, allocations: 0.6153 MB / 0.4908 GB, free: 50.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.01266, allocations: 109.8 kB / 0.491 GB, free: 50.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.01311, allocations: 247.8 kB / 0.4912 GB, free: 50.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.01325, allocations: 298.7 kB / 0.4915 GB, free: 49.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.0135, allocations: 418.5 kB / 0.4919 GB, free: 49.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009296/0.01443, allocations: 1.121 MB / 0.493 GB, free: 48.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.01444, allocations: 4 kB / 0.493 GB, free: 48.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01444, allocations: 0 / 0.493 GB, free: 48.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.01446, allocations: 5.062 kB / 0.493 GB, free: 48.29 MB / 410.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.003838/0.01829, allocations: 2.607 MB / 0.4955 GB, free: 45.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.01834, allocations: 8.031 kB / 0.4955 GB, free: 45.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.02066, allocations: 0.897 MB / 0.4964 GB, free: 44.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006469/0.02131, allocations: 0.6941 MB / 0.4971 GB, free: 44.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.02145, allocations: 355.9 kB / 0.4974 GB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-05/0.02153, allocations: 81.53 kB / 0.4975 GB, free: 43.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/0.02226, allocations: 0.7445 MB / 0.4982 GB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.02228, allocations: 0 / 0.4982 GB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.513e-05/0.02233, allocations: 32 kB / 0.4983 GB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.02234, allocations: 19.94 kB / 0.4983 GB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.02275, allocations: 356.8 kB / 0.4986 GB, free: 42.39 MB / 410.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.002609/0.02536, allocations: 2.483 MB / 0.501 GB, free: 39.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.02735, allocations: 1.116 MB / 0.5021 GB, free: 38.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.02759, allocations: 253.1 kB / 0.5024 GB, free: 38.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.266e-05/0.02766, allocations: 21.58 kB / 0.5024 GB, free: 38.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.02768, allocations: 47.36 kB / 0.5024 GB, free: 38.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=92): time 2.315e-06/0.02768, allocations: 0 / 0.5024 GB, free: 38.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.00924/0.03692, allocations: 4.632 MB / 0.507 GB, free: 33.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.03697, allocations: 97.72 kB / 0.5071 GB, free: 33.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.03749, allocations: 0.8722 MB / 0.5079 GB, free: 32.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/0.03755, allocations: 41.7 kB / 0.5079 GB, free: 32.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.03773, allocations: 0.5194 MB / 0.5085 GB, free: 32.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.03791, allocations: 329.2 kB / 0.5088 GB, free: 31.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.03814, allocations: 264.4 kB / 0.509 GB, free: 31.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.03821, allocations: 0.5315 MB / 0.5095 GB, free: 31.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.03856, allocations: 315.1 kB / 0.5098 GB, free: 30.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.03898, allocations: 0.5516 MB / 0.5104 GB, free: 30.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.04015, allocations: 1.338 MB / 0.5117 GB, free: 28.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.04016, allocations: 0 / 0.5117 GB, free: 28.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0043/0.04446, allocations: 2.731 MB / 0.5144 GB, free: 25.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.04448, allocations: 10.5 kB / 0.5144 GB, free: 25.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.04449, allocations: 4 kB / 0.5144 GB, free: 25.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003444/0.04793, allocations: 1.527 MB / 0.5159 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.04843, allocations: 235.7 kB / 0.5161 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004633/0.05307, allocations: 4.16 MB / 0.5201 GB, free: 19.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006308/0.0537, allocations: 139.2 kB / 0.5203 GB, free: 19.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.05375, allocations: 39.98 kB / 0.5203 GB, free: 19.73 MB / 410.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.0002951/0.05404, allocations: 229.4 kB / 0.5205 GB, free: 19.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/0.05444, allocations: 316.3 kB / 0.5208 GB, free: 19.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/0.05795, allocations: 2.24 MB / 0.523 GB, free: 16.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.05796, allocations: 12 kB / 0.523 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.05797, allocations: 11.94 kB / 0.523 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.05797, allocations: 3.984 kB / 0.5231 GB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004396/0.06237, allocations: 3.099 MB / 0.5261 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.06237, allocations: 3.984 kB / 0.5261 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.06262, allocations: 111.8 kB / 0.5262 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003407/0.06603, allocations: 1.58 MB / 0.5277 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/0.06608, allocations: 16 kB / 0.5277 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004988/0.07107, allocations: 8.369 MB / 0.5359 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.07107, allocations: 0 / 0.5359 GB, free: 3.355 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003893/0.07496, allocations: 2.573 MB / 0.5384 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.07515, allocations: 131 kB / 0.5386 GB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.849e-05/0.07524, allocations: 23.98 kB / 0.5386 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.0756, allocations: 67.94 kB / 0.5386 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/0.07587, allocations: 172.6 kB / 0.5388 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.07591, allocations: 20.17 kB / 0.5388 GB, free: 356 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003228/0.07623, allocations: 0.5249 MB / 0.5393 GB, free: 15.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07623, allocations: 0 / 0.5393 GB, free: 15.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008974/0.07713, allocations: 435.7 kB / 0.5398 GB, free: 15.39 MB / 426.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.000203/0.07733, allocations: 139.1 kB / 0.5399 GB, free: 15.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.07941, allocations: 1.487 MB / 0.5413 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.07941, allocations: 0 / 0.5413 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.08071, allocations: 0.9381 MB / 0.5423 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007289/0.08144, allocations: 385.8 kB / 0.5426 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.08412, allocations: 1.88 MB / 0.5445 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.08428, allocations: 225 kB / 0.5447 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.08446, allocations: 95.12 kB / 0.5448 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.08469, allocations: 190.2 kB / 0.5449 GB, free: 9.926 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.08469, allocations: 0 / 0.5449 GB, free: 9.926 MB / 426.7 MB Notification: Performance of Templates: time 0.02636/0.111, allocations: 25.31 MB / 0.5697 GB, free: 0.8281 MB / 442.7 MB " [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.043100115843117]