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.0009627/0.0009627, allocations: 92.22 kB / 19.65 MB, free: 276 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 0.9676/0.9676, allocations: 177.2 MB / 200 MB, free: 5.543 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.001358/0.001358, allocations: 164.3 kB / 256.6 MB, free: 13 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.4 MB, free: 2.16 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 1.553e-06/1.553e-06, allocations: 0 / 489.8 MB, free: 11.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.604e-05, allocations: 3.156 kB / 489.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.005491/0.005517, allocations: 6.301 MB / 496.1 MB, free: 5.238 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003618/0.009135, allocations: 1.974 MB / 498.1 MB, free: 3.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005891/0.009724, allocations: 16.69 kB / 498.1 MB, free: 3.254 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006225/0.01035, allocations: 238.8 kB / 498.3 MB, free: 3.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.01196, allocations: 0.8635 MB / 499.2 MB, free: 2.156 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009849/0.01294, allocations: 0.6582 MB / 499.9 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.01459, allocations: 1.58 MB / 0.4897 GB, free: 15.92 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.01496, allocations: 214.8 kB / 0.4899 GB, free: 15.7 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.01602, allocations: 0.9094 MB / 0.4908 GB, free: 14.79 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007035/0.01672, allocations: 0.6698 MB / 0.4914 GB, free: 14.12 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.01694, allocations: 124 kB / 0.4916 GB, free: 14 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004608/0.0174, allocations: 267.8 kB / 0.4918 GB, free: 13.74 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.01761, allocations: 340.3 kB / 0.4921 GB, free: 13.41 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.01795, allocations: 458.5 kB / 0.4926 GB, free: 12.96 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.0195, allocations: 1.229 MB / 0.4938 GB, free: 11.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.0195, allocations: 0 / 0.4938 GB, free: 11.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.0195, allocations: 0 / 0.4938 GB, free: 11.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.906e-05/0.01954, allocations: 1.219 kB / 0.4938 GB, free: 11.72 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.00484/0.02438, allocations: 2.906 MB / 0.4966 GB, free: 8.781 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.02442, allocations: 8.031 kB / 0.4966 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/0.02708, allocations: 0.9323 MB / 0.4975 GB, free: 7.848 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009951/0.02807, allocations: 0.8068 MB / 0.4983 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.02828, allocations: 329.3 kB / 0.4986 GB, free: 6.625 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.02839, allocations: 84 kB / 0.4987 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009772/0.02937, allocations: 0.754 MB / 0.4995 GB, free: 5.766 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.02938, allocations: 4 kB / 0.4995 GB, free: 5.762 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.02944, allocations: 31.94 kB / 0.4995 GB, free: 5.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.02946, allocations: 20 kB / 0.4995 GB, free: 5.711 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007528/0.03021, allocations: 0.4895 MB / 0.5 GB, free: 5.215 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.003866/0.03408, allocations: 2.725 MB / 0.5026 GB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.03661, allocations: 1.255 MB / 0.5039 GB, free: 1.129 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/0.03703, allocations: 339.9 kB / 0.5042 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.383e-05/0.03711, allocations: 20.98 kB / 0.5042 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006267/0.03773, allocations: 0.526 MB / 0.5047 GB, free: 212 kB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 2.304e-06/0.03774, allocations: 4 kB / 0.5047 GB, free: 208 kB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.0117/0.04944, allocations: 4.989 MB / 0.5096 GB, free: 11.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.04949, allocations: 115.8 kB / 0.5097 GB, free: 11.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009394/0.05043, allocations: 0.9794 MB / 0.5107 GB, free: 10.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-05/0.05052, allocations: 41.7 kB / 0.5107 GB, free: 9.996 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.05082, allocations: 0.5548 MB / 0.5113 GB, free: 9.434 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.05109, allocations: 372.9 kB / 0.5116 GB, free: 9.066 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/0.05143, allocations: 293.1 kB / 0.5119 GB, free: 8.773 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.05155, allocations: 480.7 kB / 0.5123 GB, free: 8.301 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.05218, allocations: 435.2 kB / 0.5128 GB, free: 7.863 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006624/0.05284, allocations: 0.6377 MB / 0.5134 GB, free: 7.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.05493, allocations: 1.641 MB / 0.515 GB, free: 5.434 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.05493, allocations: 0 / 0.515 GB, free: 5.434 MB / 442.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005312/0.06025, allocations: 3.039 MB / 0.518 GB, free: 2.355 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.06029, allocations: 59.41 kB / 0.518 GB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.0603, allocations: 4 kB / 0.518 GB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004073/0.06438, allocations: 1.527 MB / 0.5195 GB, free: 0.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/0.06515, allocations: 291.6 kB / 0.5198 GB, free: 476 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/0.07169, allocations: 4.357 MB / 0.524 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009009/0.07259, allocations: 171.1 kB / 0.5242 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/0.07266, allocations: 55.98 kB / 0.5243 GB, free: 11.75 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.0003924/0.07306, allocations: 271.1 kB / 0.5245 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.07324, allocations: 159.2 kB / 0.5247 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004698/0.07793, allocations: 2.584 MB / 0.5272 GB, free: 8.695 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.07794, allocations: 12 kB / 0.5272 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.07795, allocations: 8 kB / 0.5272 GB, free: 8.676 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.07796, allocations: 7.984 kB / 0.5272 GB, free: 8.668 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006084/0.08405, allocations: 3.651 MB / 0.5308 GB, free: 4.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.08405, allocations: 0 / 0.5308 GB, free: 4.949 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.08434, allocations: 99.83 kB / 0.5309 GB, free: 4.852 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00407/0.08841, allocations: 1.63 MB / 0.5325 GB, free: 3.211 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/0.08848, allocations: 20 kB / 0.5325 GB, free: 3.191 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007164/0.09565, allocations: 6.411 MB / 0.5388 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.09565, allocations: 4 kB / 0.5388 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005358/0.101, allocations: 3.046 MB / 0.5417 GB, free: 9.418 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.1012, allocations: 139 kB / 0.5419 GB, free: 9.281 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.1013, allocations: 20 kB / 0.5419 GB, free: 9.262 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.1018, allocations: 75.92 kB / 0.542 GB, free: 9.188 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/0.1021, allocations: 200.6 kB / 0.5421 GB, free: 8.992 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.1022, allocations: 24 kB / 0.5422 GB, free: 8.969 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007305/0.1029, allocations: 0.6172 MB / 0.5428 GB, free: 8.344 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1029, allocations: 0 / 0.5428 GB, free: 8.344 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001009/0.1039, allocations: 475.5 kB / 0.5432 GB, free: 7.879 MB / 474.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.0002456/0.1042, allocations: 143 kB / 0.5434 GB, free: 7.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002464/0.1066, allocations: 1.802 MB / 0.5451 GB, free: 5.863 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1066, allocations: 4 kB / 0.5451 GB, free: 5.859 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.1083, allocations: 1.29 MB / 0.5464 GB, free: 4.508 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.1088, allocations: 132.4 kB / 0.5465 GB, free: 4.375 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.1117, allocations: 2.047 MB / 0.5485 GB, free: 2.285 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.1119, allocations: 241.5 kB / 0.5487 GB, free: 2.027 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002529/0.1121, allocations: 116 kB / 0.5489 GB, free: 1.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.1123, allocations: 80.48 kB / 0.5489 GB, free: 1.832 MB / 474.7 MB Notification: Performance of SimCode: time 2.124e-06/0.1123, allocations: 0 / 0.5489 GB, free: 1.832 MB / 474.7 MB Notification: Performance of Templates: time 0.02918/0.1415, allocations: 27.67 MB / 0.576 GB, free: 6.297 MB / 0.4948 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: 4.020174765959382]