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.001402/0.001402, allocations: 73.88 kB / 20.66 MB, free: 3.844 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 1.001/1.001, allocations: 177.1 MB / 201 MB, free: 5.691 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.001293/0.001293, allocations: 160.4 kB / 257.7 MB, free: 12.96 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.2841/0.2841, allocations: 80.24 MB / 394.5 MB, free: 1.992 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.853e-06/1.853e-06, allocations: 0 / 491 MB, free: 11.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.712e-05, allocations: 6.141 kB / 491 MB, free: 11.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.007456/0.007483, allocations: 6.17 MB / 497.2 MB, free: 4.973 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004844/0.01233, allocations: 1.959 MB / 499.2 MB, free: 3.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.01338, allocations: 8 kB / 499.2 MB, free: 3.012 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000854/0.01424, allocations: 251.9 kB / 499.4 MB, free: 2.766 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.01676, allocations: 0.8597 MB / 0.4886 GB, free: 1.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.01829, allocations: 0.6499 MB / 0.4892 GB, free: 1.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00235/0.02064, allocations: 1.584 MB / 0.4907 GB, free: 15.68 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005404/0.02118, allocations: 211.6 kB / 0.4909 GB, free: 15.46 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.02285, allocations: 0.9121 MB / 0.4918 GB, free: 14.55 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.02415, allocations: 0.6709 MB / 0.4925 GB, free: 13.88 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003721/0.02452, allocations: 120 kB / 0.4926 GB, free: 13.76 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000716/0.02524, allocations: 277.4 kB / 0.4929 GB, free: 13.49 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003206/0.02556, allocations: 326.6 kB / 0.4932 GB, free: 13.17 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007058/0.02626, allocations: 466.4 kB / 0.4936 GB, free: 12.71 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.02827, allocations: 1.222 MB / 0.4948 GB, free: 11.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.02828, allocations: 0 / 0.4948 GB, free: 11.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02828, allocations: 0.5938 kB / 0.4948 GB, free: 11.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.722e-05/0.02832, allocations: 0.5938 kB / 0.4948 GB, free: 11.48 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.006462/0.03478, allocations: 2.93 MB / 0.4977 GB, free: 8.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.03482, allocations: 12.03 kB / 0.4977 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002696/0.03752, allocations: 0.9261 MB / 0.4986 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009502/0.03847, allocations: 0.7795 MB / 0.4994 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.03867, allocations: 333.3 kB / 0.4997 GB, free: 6.395 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.03879, allocations: 87.94 kB / 0.4998 GB, free: 6.309 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007964/0.03958, allocations: 0.6718 MB / 0.5004 GB, free: 5.613 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.0396, allocations: 0 / 0.5004 GB, free: 5.613 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.314e-05/0.03966, allocations: 31.94 kB / 0.5004 GB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.03968, allocations: 20 kB / 0.5005 GB, free: 5.562 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000537/0.04021, allocations: 407.3 kB / 0.5009 GB, free: 5.16 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.0035/0.04371, allocations: 2.595 MB / 0.5034 GB, free: 2.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.04612, allocations: 1.187 MB / 0.5045 GB, free: 1.281 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.04647, allocations: 283.9 kB / 0.5048 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.129e-05/0.04655, allocations: 25 kB / 0.5048 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005582/0.04711, allocations: 486.5 kB / 0.5053 GB, free: 472 kB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 3.346e-06/0.04711, allocations: 0 / 0.5053 GB, free: 472 kB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.01166/0.05877, allocations: 4.817 MB / 0.51 GB, free: 11.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.05884, allocations: 111.8 kB / 0.5101 GB, free: 11.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000898/0.05974, allocations: 0.9398 MB / 0.511 GB, free: 10.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.05986, allocations: 41.7 kB / 0.5111 GB, free: 10.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.06019, allocations: 0.5625 MB / 0.5116 GB, free: 9.898 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.06049, allocations: 376.8 kB / 0.512 GB, free: 9.527 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003244/0.06082, allocations: 297 kB / 0.5123 GB, free: 9.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.06095, allocations: 484.7 kB / 0.5127 GB, free: 8.754 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.06147, allocations: 403.2 kB / 0.5131 GB, free: 8.348 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006507/0.06212, allocations: 0.6064 MB / 0.5137 GB, free: 7.676 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.06387, allocations: 1.551 MB / 0.5152 GB, free: 6.039 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.06388, allocations: 4 kB / 0.5152 GB, free: 6.035 MB / 442.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005577/0.06946, allocations: 2.953 MB / 0.5181 GB, free: 3.043 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.745e-05/0.06951, allocations: 63.39 kB / 0.5182 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.06953, allocations: 4 kB / 0.5182 GB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004189/0.07371, allocations: 1.503 MB / 0.5196 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009558/0.07467, allocations: 287.6 kB / 0.5199 GB, free: 1.176 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006032/0.0807, allocations: 4.185 MB / 0.524 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.08184, allocations: 171.1 kB / 0.5242 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/0.08192, allocations: 43.97 kB / 0.5242 GB, free: 12.66 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.0004701/0.08239, allocations: 267 kB / 0.5245 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.08258, allocations: 159.2 kB / 0.5246 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004624/0.08721, allocations: 2.447 MB / 0.527 GB, free: 9.738 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.08722, allocations: 12 kB / 0.527 GB, free: 9.727 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.08723, allocations: 7.938 kB / 0.527 GB, free: 9.719 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.08724, allocations: 11.97 kB / 0.527 GB, free: 9.707 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005726/0.09296, allocations: 3.393 MB / 0.5303 GB, free: 6.254 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.09297, allocations: 4.031 kB / 0.5303 GB, free: 6.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.09327, allocations: 103.9 kB / 0.5304 GB, free: 6.148 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004729/0.098, allocations: 1.607 MB / 0.532 GB, free: 4.531 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-05/0.09808, allocations: 27.92 kB / 0.532 GB, free: 4.504 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006874/0.105, allocations: 6.222 MB / 0.5381 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.105, allocations: 0 / 0.5381 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005423/0.1104, allocations: 2.847 MB / 0.5409 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.1107, allocations: 147 kB / 0.541 GB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.1109, allocations: 20 kB / 0.5411 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/0.1113, allocations: 79.92 kB / 0.5411 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003811/0.1117, allocations: 192.6 kB / 0.5413 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-05/0.1118, allocations: 20 kB / 0.5413 GB, free: 10.69 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004423/0.1122, allocations: 0.5584 MB / 0.5419 GB, free: 10.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1122, allocations: 0 / 0.5419 GB, free: 10.12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001094/0.1133, allocations: 479.5 kB / 0.5423 GB, free: 9.652 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.0002672/0.1136, allocations: 143 kB / 0.5425 GB, free: 9.504 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00247/0.116, allocations: 1.715 MB / 0.5442 GB, free: 7.723 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.116, allocations: 0 / 0.5442 GB, free: 7.723 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.1177, allocations: 1.243 MB / 0.5454 GB, free: 6.418 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.1183, allocations: 144.2 kB / 0.5455 GB, free: 6.281 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.1211, allocations: 2.039 MB / 0.5475 GB, free: 4.199 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.1212, allocations: 241.5 kB / 0.5477 GB, free: 3.941 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000257/0.1215, allocations: 112 kB / 0.5478 GB, free: 3.828 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.1218, allocations: 210.2 kB / 0.548 GB, free: 3.621 MB / 474.7 MB Notification: Performance of SimCode: time 1.623e-06/0.1218, allocations: 0 / 0.548 GB, free: 3.621 MB / 474.7 MB Notification: Performance of Templates: time 0.03307/0.1549, allocations: 28.72 MB / 0.5761 GB, free: 7.039 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.251395197119564]