Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009511/0.0009512, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 184.4 kB / 291.3 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.52/0.52, allocations: 91.92 MB / 434.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.000401, allocations: 8 kB / 0.5054 GB, free: 7.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.401, allocations: 72.47 MB / 0.5762 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG): time 0.004952/0.406, allocations: 6.217 MB / 0.5823 GB, free: 32.17 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004113/0.4101, allocations: 1.973 MB / 0.5842 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006414/0.4108, allocations: 18.06 kB / 0.5842 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006176/0.4114, allocations: 180.5 kB / 0.5844 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.4129, allocations: 0.6417 MB / 0.585 GB, free: 30.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.414, allocations: 0.6056 MB / 0.5856 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009994/0.415, allocations: 1.386 MB / 0.5869 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.4154, allocations: 275.2 kB / 0.5872 GB, free: 29.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005004/0.4159, allocations: 0.5227 MB / 0.5877 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000563/0.4165, allocations: 0.6547 MB / 0.5884 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.4166, allocations: 53.47 kB / 0.5884 GB, free: 28.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.4169, allocations: 185.9 kB / 0.5886 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.4171, allocations: 230.7 kB / 0.5888 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.4175, allocations: 0.5711 MB / 0.5894 GB, free: 28.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007913/0.4183, allocations: 1.135 MB / 0.5905 GB, free: 27.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4183, allocations: 0 / 0.5905 GB, free: 27.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4183, allocations: 3.938 kB / 0.5905 GB, free: 27.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.4183, allocations: 0 / 0.5905 GB, free: 27.69 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007519/0.4258, allocations: 2.357 MB / 0.5928 GB, free: 26.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4259, allocations: 13.52 kB / 0.5928 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005093/0.431, allocations: 0.7888 MB / 0.5936 GB, free: 26.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.4325, allocations: 0.812 MB / 0.5943 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/0.4327, allocations: 269.2 kB / 0.5946 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.4329, allocations: 77.75 kB / 0.5947 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.4354, allocations: 1.202 MB / 0.5959 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.4354, allocations: 3.938 kB / 0.5959 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.642e-05/0.4355, allocations: 29.81 kB / 0.5959 GB, free: 25.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.4355, allocations: 17.84 kB / 0.5959 GB, free: 25.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.438, allocations: 1.165 MB / 0.597 GB, free: 24.89 MB / 430.1 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.005978/0.444, allocations: 3.52 MB / 0.6005 GB, free: 22.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/0.4464, allocations: 1.513 MB / 0.602 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.448, allocations: 0.8194 MB / 0.6028 GB, free: 21.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-05/0.4482, allocations: 19.91 kB / 0.6028 GB, free: 21.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.4482, allocations: 47.91 kB / 0.6028 GB, free: 21.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.387e-06/0.4482, allocations: 3.984 kB / 0.6028 GB, free: 21.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.03207/0.4803, allocations: 8.494 MB / 0.6111 GB, free: 20.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.4804, allocations: 87.72 kB / 0.6112 GB, free: 20.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/0.4825, allocations: 0.9468 MB / 0.6121 GB, free: 19.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002979/0.4828, allocations: 44.98 kB / 0.6122 GB, free: 19.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/0.4832, allocations: 487.3 kB / 0.6126 GB, free: 19.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005069/0.4837, allocations: 321.5 kB / 0.6129 GB, free: 18.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002806/0.484, allocations: 103 kB / 0.613 GB, free: 18.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.4841, allocations: 348.8 kB / 0.6134 GB, free: 18.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001985/0.4861, allocations: 0.7702 MB / 0.6141 GB, free: 18.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/0.4882, allocations: 0.8976 MB / 0.615 GB, free: 17.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02086/0.509, allocations: 5.207 MB / 0.6201 GB, free: 16.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.5091, allocations: 3.938 kB / 0.6201 GB, free: 16.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01489/0.524, allocations: 5.167 MB / 0.6251 GB, free: 10.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.553e-05/0.5241, allocations: 153.1 kB / 0.6253 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.5242, allocations: 4 kB / 0.6253 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00648/0.5307, allocations: 2.092 MB / 0.6273 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.5317, allocations: 203.7 kB / 0.6275 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/0.5532, allocations: 9.575 MB / 0.6369 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.5552, allocations: 218.9 kB / 0.6371 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/0.5555, allocations: 39.98 kB / 0.6371 GB, free: 14.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.5556, allocations: 9.875 kB / 0.6371 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01584/0.5714, allocations: 5.011 MB / 0.642 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.5715, allocations: 8 kB / 0.642 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007071/0.5786, allocations: 2.093 MB / 0.6441 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.5797, allocations: 195.7 kB / 0.6443 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02344/0.6031, allocations: 9.543 MB / 0.6536 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.6049, allocations: 203.1 kB / 0.6538 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.6051, allocations: 36 kB / 0.6538 GB, free: 13.23 MB / 462.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007848/0.6059, allocations: 329.9 kB / 0.6541 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003537/0.6063, allocations: 118.5 kB / 0.6542 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/0.6216, allocations: 4.873 MB / 0.659 GB, free: 7.895 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.6217, allocations: 12 kB / 0.659 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6217, allocations: 0 / 0.659 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.042e-05/0.6217, allocations: 7.984 kB / 0.659 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/0.6397, allocations: 6.461 MB / 0.6653 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.6397, allocations: 0 / 0.6653 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007048/0.6404, allocations: 111.8 kB / 0.6654 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006733/0.6472, allocations: 2.053 MB / 0.6674 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002348/0.6475, allocations: 19.98 kB / 0.6675 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/0.6671, allocations: 8.215 MB / 0.6755 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6671, allocations: 0 / 0.6755 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/0.6845, allocations: 5.849 MB / 0.6812 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/0.6851, allocations: 211.4 kB / 0.6814 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/0.6855, allocations: 19.98 kB / 0.6814 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.6869, allocations: 151.8 kB / 0.6816 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007179/0.6876, allocations: 200.6 kB / 0.6817 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.6878, allocations: 20 kB / 0.6818 GB, free: 260 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001174/0.689, allocations: 0.6432 MB / 0.6824 GB, free: 15.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.689, allocations: 0 / 0.6824 GB, free: 15.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00246/0.6914, allocations: 0.6944 MB / 0.6831 GB, free: 14.91 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003247/0.6918, allocations: 133.7 kB / 0.6832 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01302/0.7048, allocations: 4.646 MB / 0.6877 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.7049, allocations: 0 / 0.6877 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005262/0.7101, allocations: 1.746 MB / 0.6894 GB, free: 8.336 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.7115, allocations: 99.53 kB / 0.6895 GB, free: 8.238 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.7161, allocations: 2.603 MB / 0.6921 GB, free: 5.613 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.7168, allocations: 1.109 MB / 0.6932 GB, free: 4.477 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/0.7172, allocations: 67.42 kB / 0.6932 GB, free: 4.41 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.7172, allocations: 0 / 0.6932 GB, free: 4.41 MB / 494.1 MB Notification: Performance of Templates: time 0.03115/0.7483, allocations: 20.93 MB / 0.7137 GB, free: 15.46 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)