Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0009116/0.0009116, allocations: 93.06 kB / 19.65 MB, free: 280 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.9109/0.9109, allocations: 177.1 MB / 200 MB, free: 5.539 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.001149/0.001149, allocations: 159.5 kB / 256.6 MB, free: 13.01 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.2978/0.2978, allocations: 80.36 MB / 393.5 MB, free: 2.105 MB / 314.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_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 490 MB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.347e-05, allocations: 2.312 kB / 490 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.004989/0.005012, allocations: 5.977 MB / 495.9 MB, free: 5.508 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.007888, allocations: 1.87 MB / 497.8 MB, free: 3.645 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004753/0.008363, allocations: 8.781 kB / 497.8 MB, free: 3.637 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004253/0.008789, allocations: 218 kB / 498 MB, free: 3.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.01031, allocations: 0.8105 MB / 498.8 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009154/0.01123, allocations: 0.5819 MB / 499.4 MB, free: 2.039 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.0125, allocations: 1.413 MB / 0.4891 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/0.01281, allocations: 194 kB / 0.4893 GB, free: 432 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009057/0.01372, allocations: 0.8181 MB / 0.4901 GB, free: 15.6 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006505/0.01437, allocations: 0.6153 MB / 0.4907 GB, free: 14.98 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.01451, allocations: 107.9 kB / 0.4908 GB, free: 14.88 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004547/0.01497, allocations: 249.6 kB / 0.491 GB, free: 14.64 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.01515, allocations: 294.7 kB / 0.4913 GB, free: 14.35 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003222/0.01548, allocations: 422.5 kB / 0.4917 GB, free: 13.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.01668, allocations: 1.124 MB / 0.4928 GB, free: 12.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.01669, allocations: 0 / 0.4928 GB, free: 12.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.01669, allocations: 5.797 kB / 0.4928 GB, free: 12.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.0167, allocations: 0 / 0.4928 GB, free: 12.8 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.004482/0.02118, allocations: 2.589 MB / 0.4953 GB, free: 10.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.02122, allocations: 9.031 kB / 0.4954 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/0.02395, allocations: 0.8956 MB / 0.4962 GB, free: 9.301 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009038/0.02486, allocations: 0.7244 MB / 0.4969 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.02507, allocations: 355 kB / 0.4973 GB, free: 8.133 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.02518, allocations: 79.95 kB / 0.4973 GB, free: 8.055 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.02633, allocations: 0.8244 MB / 0.4982 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.02635, allocations: 0 / 0.4982 GB, free: 7.191 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.02641, allocations: 28 kB / 0.4982 GB, free: 7.164 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.02643, allocations: 23.94 kB / 0.4982 GB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007435/0.02717, allocations: 455.4 kB / 0.4986 GB, free: 6.699 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.003485/0.03066, allocations: 2.605 MB / 0.5012 GB, free: 4.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.03315, allocations: 1.179 MB / 0.5023 GB, free: 2.809 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.03355, allocations: 305.2 kB / 0.5026 GB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.773e-05/0.03364, allocations: 20.66 kB / 0.5026 GB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.03366, allocations: 49.92 kB / 0.5027 GB, free: 2.426 MB / 426.7 MB Notification: Performance of pre-optimization done (n=92): time 3.156e-06/0.03367, allocations: 0 / 0.5027 GB, free: 2.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.01143/0.04509, allocations: 4.813 MB / 0.5074 GB, free: 13.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.04517, allocations: 101.7 kB / 0.5075 GB, free: 13.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008613/0.04603, allocations: 0.9001 MB / 0.5084 GB, free: 12.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.242e-05/0.04613, allocations: 41.7 kB / 0.5084 GB, free: 12.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.0464, allocations: 0.5078 MB / 0.5089 GB, free: 11.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.04663, allocations: 321.3 kB / 0.5092 GB, free: 11.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002887/0.04691, allocations: 256.5 kB / 0.5095 GB, free: 11.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.04705, allocations: 0.5277 MB / 0.51 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004904/0.04754, allocations: 351.1 kB / 0.5103 GB, free: 10.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/0.04815, allocations: 0.5712 MB / 0.5109 GB, free: 9.895 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.04975, allocations: 1.405 MB / 0.5122 GB, free: 8.418 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.04975, allocations: 0 / 0.5122 GB, free: 8.418 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005249/0.055, allocations: 2.813 MB / 0.515 GB, free: 5.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.05502, allocations: 8 kB / 0.515 GB, free: 5.582 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.05504, allocations: 4 kB / 0.515 GB, free: 5.578 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004286/0.05932, allocations: 1.554 MB / 0.5165 GB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/0.05997, allocations: 235.6 kB / 0.5167 GB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006508/0.06647, allocations: 4.312 MB / 0.5209 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009691/0.06744, allocations: 147.2 kB / 0.5211 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.06751, allocations: 43.98 kB / 0.5211 GB, free: 15.16 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 (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.0004155/0.06793, allocations: 237.4 kB / 0.5214 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000559/0.06849, allocations: 316.3 kB / 0.5217 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004726/0.07321, allocations: 2.365 MB / 0.524 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.07323, allocations: 8 kB / 0.524 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.07324, allocations: 8 kB / 0.524 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.07325, allocations: 11.91 kB / 0.524 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005986/0.07923, allocations: 3.346 MB / 0.5273 GB, free: 8.785 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.07924, allocations: 4 kB / 0.5273 GB, free: 8.781 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.07954, allocations: 103.9 kB / 0.5274 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004222/0.08376, allocations: 1.603 MB / 0.5289 GB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.099e-05/0.08384, allocations: 19.98 kB / 0.5289 GB, free: 7.047 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007927/0.09177, allocations: 8.522 MB / 0.5373 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.09177, allocations: 0 / 0.5373 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005627/0.0974, allocations: 2.913 MB / 0.5401 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.09765, allocations: 138.9 kB / 0.5402 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.857e-05/0.09775, allocations: 20 kB / 0.5403 GB, free: 11.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.09816, allocations: 71.94 kB / 0.5403 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000363/0.09853, allocations: 168.7 kB / 0.5405 GB, free: 10.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/0.0986, allocations: 27.94 kB / 0.5405 GB, free: 10.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006434/0.09924, allocations: 0.5682 MB / 0.5411 GB, free: 10.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09924, allocations: 4 kB / 0.5411 GB, free: 10.26 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001218/0.1005, allocations: 431.7 kB / 0.5415 GB, free: 9.84 MB / 474.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.0002811/0.1007, allocations: 138 kB / 0.5416 GB, free: 9.695 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003225/0.104, allocations: 1.561 MB / 0.5431 GB, free: 8.109 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.104, allocations: 0 / 0.5431 GB, free: 8.109 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00203/0.106, allocations: 0.9889 MB / 0.5441 GB, free: 7.094 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.107, allocations: 387.6 kB / 0.5445 GB, free: 6.699 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.1105, allocations: 1.879 MB / 0.5463 GB, free: 4.781 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.1107, allocations: 229 kB / 0.5465 GB, free: 4.539 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.111, allocations: 99.06 kB / 0.5466 GB, free: 4.438 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.1112, allocations: 72.48 kB / 0.5467 GB, free: 4.367 MB / 474.7 MB Notification: Performance of SimCode: time 1.383e-06/0.1112, allocations: 4 kB / 0.5467 GB, free: 4.363 MB / 474.7 MB Notification: Performance of Templates: time 0.0325/0.1437, allocations: 24.5 MB / 0.5706 GB, free: 11.96 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.266019757371396]