Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 182 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 239.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009926/0.0009926, allocations: 99.02 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4205/0.4205, allocations: 78.46 MB / 418.5 MB, free: 8.844 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.91 kB / 497.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.243, allocations: 68.13 MB / 0.5523 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.00512/0.2482, allocations: 6.649 MB / 0.5588 GB, free: 13.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003599/0.2518, allocations: 1.999 MB / 0.5608 GB, free: 11.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007269/0.2526, allocations: 12 kB / 0.5608 GB, free: 11.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005488/0.2532, allocations: 178.9 kB / 0.5609 GB, free: 11.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.2544, allocations: 0.6374 MB / 0.5616 GB, free: 10.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.2555, allocations: 0.6183 MB / 0.5622 GB, free: 10.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007891/0.2563, allocations: 1.413 MB / 0.5635 GB, free: 8.699 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.2566, allocations: 285.3 kB / 0.5638 GB, free: 8.414 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/0.257, allocations: 0.556 MB / 0.5644 GB, free: 7.855 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004904/0.2575, allocations: 0.6999 MB / 0.565 GB, free: 7.152 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.2576, allocations: 64 kB / 0.5651 GB, free: 7.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.258, allocations: 203.8 kB / 0.5653 GB, free: 6.891 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.2581, allocations: 250.7 kB / 0.5655 GB, free: 6.645 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003366/0.2585, allocations: 0.5706 MB / 0.5661 GB, free: 6.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008327/0.2593, allocations: 1.491 MB / 0.5676 GB, free: 4.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2593, allocations: 0 / 0.5676 GB, free: 4.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.2593, allocations: 0 / 0.5676 GB, free: 4.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.2593, allocations: 4 kB / 0.5676 GB, free: 4.57 MB / 378.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.007305/0.2667, allocations: 2.548 MB / 0.57 GB, free: 1.969 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2667, allocations: 12.03 kB / 0.5701 GB, free: 1.957 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004414/0.2711, allocations: 0.7789 MB / 0.5708 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.2722, allocations: 0.8108 MB / 0.5716 GB, free: 316 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.2723, allocations: 222.5 kB / 0.5718 GB, free: 60 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.2725, allocations: 72.05 kB / 0.5719 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.2746, allocations: 1.137 MB / 0.573 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.2746, allocations: 3.938 kB / 0.573 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.789e-05/0.2747, allocations: 28 kB / 0.573 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.2748, allocations: 20 kB / 0.5731 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.277, allocations: 1.074 MB / 0.5741 GB, free: 13.71 MB / 394.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.004993/0.282, allocations: 3.155 MB / 0.5772 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00297/0.285, allocations: 1.601 MB / 0.5787 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.2865, allocations: 0.7652 MB / 0.5795 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.2866, allocations: 17 kB / 0.5795 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2866, allocations: 39.56 kB / 0.5795 GB, free: 7.879 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 2.866e-06/0.2866, allocations: 0 / 0.5795 GB, free: 7.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.0287/0.3153, allocations: 7.071 MB / 0.5865 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.3154, allocations: 94.09 kB / 0.5865 GB, free: 0.668 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.3168, allocations: 0.9455 MB / 0.5875 GB, free: 15.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.3169, allocations: 45.7 kB / 0.5875 GB, free: 15.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.3173, allocations: 488.4 kB / 0.588 GB, free: 15.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/0.3176, allocations: 335.2 kB / 0.5883 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/0.318, allocations: 202.8 kB / 0.5885 GB, free: 14.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3181, allocations: 353.9 kB / 0.5888 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.3196, allocations: 0.7087 MB / 0.5895 GB, free: 13.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.3213, allocations: 0.8346 MB / 0.5903 GB, free: 12.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01873/0.34, allocations: 4.719 MB / 0.5949 GB, free: 7.949 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.34, allocations: 4 kB / 0.5949 GB, free: 7.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01413/0.3542, allocations: 4.409 MB / 0.5992 GB, free: 3.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3542, allocations: 7.938 kB / 0.5993 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3542, allocations: 7.938 kB / 0.5993 GB, free: 3.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006618/0.3609, allocations: 1.893 MB / 0.6011 GB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008692/0.3618, allocations: 171.8 kB / 0.6013 GB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02303/0.3848, allocations: 9.181 MB / 0.6102 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.3864, allocations: 174.8 kB / 0.6104 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.3865, allocations: 43.98 kB / 0.6105 GB, free: 7.902 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00188/0.3884, allocations: 0.8734 MB / 0.6113 GB, free: 7.023 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001607/0.39, allocations: 0.8189 MB / 0.6121 GB, free: 6.176 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0186/0.4087, allocations: 4.692 MB / 0.6167 GB, free: 1.449 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.312e-06/0.4087, allocations: 3.938 kB / 0.6167 GB, free: 1.445 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01468/0.4234, allocations: 4.39 MB / 0.621 GB, free: 13.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4235, allocations: 4 kB / 0.621 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.4235, allocations: 4 kB / 0.621 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006598/0.4301, allocations: 1.897 MB / 0.6228 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008669/0.431, allocations: 167.7 kB / 0.623 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02241/0.4534, allocations: 9.158 MB / 0.6319 GB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.455, allocations: 162.9 kB / 0.6321 GB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/0.4552, allocations: 43.98 kB / 0.6321 GB, free: 1.453 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.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 (107): * Single equations (assignments): 106 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003661/0.4556, allocations: 234.6 kB / 0.6324 GB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/0.4559, allocations: 114.6 kB / 0.6325 GB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.47, allocations: 4.077 MB / 0.6365 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.47, allocations: 11.94 kB / 0.6365 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4701, allocations: 0 / 0.6365 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.4701, allocations: 3.984 kB / 0.6365 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/0.4865, allocations: 5.731 MB / 0.6421 GB, free: 7.125 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.4865, allocations: 0 / 0.6421 GB, free: 7.125 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/0.4871, allocations: 91.89 kB / 0.6422 GB, free: 7.035 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00642/0.4935, allocations: 1.831 MB / 0.6439 GB, free: 5.199 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.4937, allocations: 23.94 kB / 0.644 GB, free: 5.176 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/0.5134, allocations: 7.859 MB / 0.6516 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5135, allocations: 0 / 0.6516 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3144/0.8279, allocations: 33.07 MB / 0.6839 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.8281, allocations: 206.6 kB / 0.6841 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.8283, allocations: 22.16 kB / 0.6841 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.8295, allocations: 103.7 kB / 0.6842 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006444/0.8301, allocations: 192.5 kB / 0.6844 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.587e-05/0.8302, allocations: 29.31 kB / 0.6845 GB, free: 108.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009411/0.8312, allocations: 0.648 MB / 0.6851 GB, free: 108 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.8312, allocations: 0 / 0.6851 GB, free: 108 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002672/0.8339, allocations: 1.063 MB / 0.6861 GB, free: 108 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002226/0.8341, allocations: 131.5 kB / 0.6863 GB, free: 107.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0117/0.8458, allocations: 4.183 MB / 0.6903 GB, free: 107.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8458, allocations: 0 / 0.6903 GB, free: 107.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004657/0.8505, allocations: 1.539 MB / 0.6918 GB, free: 106.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008287/0.8513, allocations: 102.5 kB / 0.6919 GB, free: 106.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007515/0.8589, allocations: 3.836 MB / 0.6957 GB, free: 104.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005786/0.8595, allocations: 1.143 MB / 0.6968 GB, free: 104 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005496/0.86, allocations: 122.2 kB / 0.6969 GB, free: 104 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.8603, allocations: 68.27 kB / 0.697 GB, free: 104 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.8603, allocations: 0 / 0.697 GB, free: 104 MB / 490.7 MB Notification: Performance of Templates: time 0.04543/0.9057, allocations: 41.17 MB / 0.7372 GB, free: 72.11 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)