Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001307/0.001307, allocations: 77.09 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 0.8825/0.8825, allocations: 177.2 MB / 201 MB, free: 5.699 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.001155/0.001155, allocations: 148.7 kB / 257.7 MB, free: 12.98 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.2972/0.2972, allocations: 83.27 MB / 397.5 MB, free: 68 kB / 362.7 MB " [Timeout remaining time 179] 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_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 495.1 MB, free: 58.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.4e-05, allocations: 6.141 kB / 495.1 MB, free: 58.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.003712/0.003726, allocations: 6.171 MB / 0.4896 GB, free: 52.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.006226, allocations: 1.96 MB / 0.4915 GB, free: 50.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003897/0.006615, allocations: 8 kB / 0.4915 GB, free: 50.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004756/0.007091, allocations: 238.8 kB / 0.4917 GB, free: 50.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.008312, allocations: 0.8751 MB / 0.4926 GB, free: 49.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.009052, allocations: 0.6421 MB / 0.4932 GB, free: 48.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009941/0.01005, allocations: 1.589 MB / 0.4947 GB, free: 47.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.01029, allocations: 218.8 kB / 0.4949 GB, free: 46.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006649/0.01096, allocations: 0.9117 MB / 0.4958 GB, free: 46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000446/0.01141, allocations: 0.6715 MB / 0.4965 GB, free: 45.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.01151, allocations: 120 kB / 0.4966 GB, free: 45.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.01181, allocations: 279.7 kB / 0.4969 GB, free: 44.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.01195, allocations: 330.5 kB / 0.4972 GB, free: 44.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.01216, allocations: 459.2 kB / 0.4976 GB, free: 44.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000721/0.01288, allocations: 1.233 MB / 0.4988 GB, free: 42.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.01288, allocations: 1.688 kB / 0.4988 GB, free: 42.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01288, allocations: 0 / 0.4988 GB, free: 42.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.01289, allocations: 0 / 0.4988 GB, free: 42.92 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.003946/0.01684, allocations: 2.926 MB / 0.5017 GB, free: 39.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.626e-05/0.01686, allocations: 8.031 kB / 0.5017 GB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/0.01929, allocations: 0.9292 MB / 0.5026 GB, free: 39.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006478/0.01994, allocations: 0.7657 MB / 0.5034 GB, free: 38.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.02006, allocations: 333.3 kB / 0.5037 GB, free: 37.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.02017, allocations: 84.48 kB / 0.5038 GB, free: 37.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/0.02081, allocations: 0.6931 MB / 0.5044 GB, free: 37.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.02082, allocations: 7.984 kB / 0.5044 GB, free: 37.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.545e-05/0.02088, allocations: 27.94 kB / 0.5045 GB, free: 37.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.02089, allocations: 20.53 kB / 0.5045 GB, free: 37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.02133, allocations: 405.4 kB / 0.5049 GB, free: 36.6 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.002597/0.02392, allocations: 2.552 MB / 0.5074 GB, free: 34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.02612, allocations: 1.185 MB / 0.5085 GB, free: 32.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.02637, allocations: 291.8 kB / 0.5088 GB, free: 32.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.007e-05/0.02643, allocations: 17 kB / 0.5088 GB, free: 32.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.02683, allocations: 495.4 kB / 0.5093 GB, free: 31.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 1.984e-06/0.02683, allocations: 0 / 0.5093 GB, free: 31.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.01035/0.03718, allocations: 4.808 MB / 0.514 GB, free: 27.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.03721, allocations: 119.8 kB / 0.5141 GB, free: 27.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/0.03776, allocations: 0.9436 MB / 0.515 GB, free: 26.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.403e-05/0.03782, allocations: 49.7 kB / 0.5151 GB, free: 26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.03803, allocations: 0.5547 MB / 0.5156 GB, free: 25.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.0382, allocations: 380.8 kB / 0.516 GB, free: 25.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.03847, allocations: 301 kB / 0.5163 GB, free: 24.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.03851, allocations: 484.7 kB / 0.5167 GB, free: 24.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.03893, allocations: 399.2 kB / 0.5171 GB, free: 23.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.03942, allocations: 0.6103 MB / 0.5177 GB, free: 23.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.0408, allocations: 1.559 MB / 0.5192 GB, free: 21.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.0408, allocations: 0 / 0.5192 GB, free: 21.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.00464/0.04544, allocations: 2.941 MB / 0.5221 GB, free: 18.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.04548, allocations: 67.39 kB / 0.5222 GB, free: 18.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.04549, allocations: 4 kB / 0.5222 GB, free: 18.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003791/0.04928, allocations: 1.503 MB / 0.5236 GB, free: 16.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/0.04996, allocations: 295.6 kB / 0.5239 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004872/0.05483, allocations: 4.182 MB / 0.528 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/0.05555, allocations: 167.1 kB / 0.5281 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.531e-05/0.05562, allocations: 43.97 kB / 0.5282 GB, free: 12.19 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: 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.0003685/0.05599, allocations: 271 kB / 0.5284 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.05615, allocations: 159.2 kB / 0.5286 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004318/0.06046, allocations: 2.455 MB / 0.531 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.06047, allocations: 12 kB / 0.531 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.06048, allocations: 4 kB / 0.531 GB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.06049, allocations: 7.984 kB / 0.531 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00484/0.06533, allocations: 3.389 MB / 0.5343 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.06533, allocations: 0 / 0.5343 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.0656, allocations: 99.89 kB / 0.5344 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0037/0.0693, allocations: 1.626 MB / 0.536 GB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/0.06935, allocations: 24 kB / 0.536 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005656/0.07501, allocations: 6.195 MB / 0.5421 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.07501, allocations: 0 / 0.5421 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005243/0.08025, allocations: 2.843 MB / 0.5449 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.08041, allocations: 146.9 kB / 0.545 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.08052, allocations: 23.94 kB / 0.545 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.08097, allocations: 87.8 kB / 0.5451 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/0.08129, allocations: 192.6 kB / 0.5453 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.08133, allocations: 23.98 kB / 0.5453 GB, free: 10.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003876/0.08172, allocations: 0.5584 MB / 0.5459 GB, free: 9.668 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08172, allocations: 0 / 0.5459 GB, free: 9.668 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009296/0.08265, allocations: 463.7 kB / 0.5463 GB, free: 9.215 MB / 426.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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001994/0.08285, allocations: 149.9 kB / 0.5464 GB, free: 9.062 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.08507, allocations: 1.708 MB / 0.5481 GB, free: 7.281 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.08508, allocations: 4 kB / 0.5481 GB, free: 7.277 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.08665, allocations: 1.276 MB / 0.5494 GB, free: 5.941 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.08715, allocations: 139.3 kB / 0.5495 GB, free: 5.812 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.08979, allocations: 2.047 MB / 0.5515 GB, free: 3.723 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.08995, allocations: 249.5 kB / 0.5517 GB, free: 3.445 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002334/0.09018, allocations: 116 kB / 0.5518 GB, free: 3.328 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.09047, allocations: 202.2 kB / 0.552 GB, free: 3.129 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/0.09047, allocations: 0 / 0.552 GB, free: 3.129 MB / 426.7 MB Notification: Performance of Templates: time 0.02811/0.1186, allocations: 28.73 MB / 0.5801 GB, free: 6.535 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.896520897280425]