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.001173/0.001173, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.33/1.33, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008201/0.0008201, allocations: 98.23 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6134/0.6134, allocations: 78.92 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.984e-05, allocations: 4 kB / 492.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3579, allocations: 69.51 MB / 0.5491 GB, free: 19.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.49, allocations: 99.1 MB / 0.6459 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.4903, allocations: 91.89 kB / 0.646 GB, free: 436 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07021/0.5605, allocations: 26.17 MB / 0.6715 GB, free: 6.062 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5605, allocations: 0 / 0.6715 GB, free: 6.062 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.834e-05/0.5606, allocations: 20 kB / 0.6716 GB, free: 6.043 MB / 490.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.004573/0.5652, allocations: 1.715 MB / 0.6732 GB, free: 4.277 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.5652, allocations: 11.97 kB / 0.6733 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003278/0.5685, allocations: 0.5564 MB / 0.6738 GB, free: 3.707 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.57, allocations: 0.7475 MB / 0.6745 GB, free: 2.906 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.5703, allocations: 230.8 kB / 0.6747 GB, free: 2.648 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.5704, allocations: 76 kB / 0.6748 GB, free: 2.574 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.5722, allocations: 0.954 MB / 0.6758 GB, free: 1.609 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.5722, allocations: 0 / 0.6758 GB, free: 1.609 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.5723, allocations: 32 kB / 0.6758 GB, free: 1.578 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.5723, allocations: 16 kB / 0.6758 GB, free: 1.562 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.5739, allocations: 0.8866 MB / 0.6767 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3167/0.8906, allocations: 3.15 MB / 0.6797 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.8932, allocations: 1.475 MB / 0.6812 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009914/0.8942, allocations: 0.597 MB / 0.6818 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.8943, allocations: 19.3 kB / 0.6818 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.8944, allocations: 44.47 kB / 0.6818 GB, free: 103 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.406e-06/0.8944, allocations: 2.844 kB / 0.6818 GB, free: 103 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01429/0.9087, allocations: 4.235 MB / 0.686 GB, free: 102.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.9088, allocations: 88.92 kB / 0.686 GB, free: 102.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.9099, allocations: 0.7713 MB / 0.6868 GB, free: 102.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002496/0.9102, allocations: 37.52 kB / 0.6868 GB, free: 102.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.9105, allocations: 0.4945 MB / 0.6873 GB, free: 102.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.9108, allocations: 328.1 kB / 0.6876 GB, free: 102.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.9109, allocations: 19.22 kB / 0.6876 GB, free: 102.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.911, allocations: 339.3 kB / 0.688 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007475/0.9118, allocations: 457.8 kB / 0.6884 GB, free: 101.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007297/0.9125, allocations: 0.5515 MB / 0.6889 GB, free: 101.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/0.9132, allocations: 0.4891 MB / 0.6894 GB, free: 101.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.9132, allocations: 0 / 0.6894 GB, free: 101.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01247/0.9257, allocations: 4.368 MB / 0.6937 GB, free: 101.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.9259, allocations: 0.8053 MB / 0.6945 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.926, allocations: 0 / 0.6945 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005644/0.9316, allocations: 1.808 MB / 0.6962 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/0.9323, allocations: 122.8 kB / 0.6964 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01464/0.947, allocations: 7.723 MB / 0.7039 GB, free: 95.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.9486, allocations: 193 kB / 0.7041 GB, free: 95.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/0.9487, allocations: 34.95 kB / 0.7041 GB, free: 95.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.9487, allocations: 7.859 kB / 0.7041 GB, free: 95.92 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01159/0.9603, allocations: 4.25 MB / 0.7083 GB, free: 93.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.9604, allocations: 0 / 0.7083 GB, free: 93.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005112/0.9655, allocations: 1.806 MB / 0.71 GB, free: 92.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.9661, allocations: 117.4 kB / 0.7102 GB, free: 92.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.98, allocations: 7.691 MB / 0.7177 GB, free: 85.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.9816, allocations: 176.4 kB / 0.7178 GB, free: 85.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-05/0.9817, allocations: 39.19 kB / 0.7179 GB, free: 85.28 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002905/0.982, allocations: 144.9 kB / 0.718 GB, free: 85.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/0.9823, allocations: 118.6 kB / 0.7181 GB, free: 85.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.9939, allocations: 4.352 MB / 0.7224 GB, free: 81.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.994, allocations: 15.33 kB / 0.7224 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.994, allocations: 3.938 kB / 0.7224 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.994, allocations: 7.328 kB / 0.7224 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/1.008, allocations: 5.972 MB / 0.7282 GB, free: 76.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/1.008, allocations: 0 / 0.7282 GB, free: 76.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/1.009, allocations: 91.91 kB / 0.7283 GB, free: 76.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004975/1.014, allocations: 1.737 MB / 0.73 GB, free: 74.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/1.014, allocations: 23.92 kB / 0.73 GB, free: 74.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/1.026, allocations: 6.691 MB / 0.7366 GB, free: 68.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.026, allocations: 0 / 0.7366 GB, free: 68.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/1.039, allocations: 5.103 MB / 0.7416 GB, free: 62.94 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005442/1.04, allocations: 211.4 kB / 0.7418 GB, free: 62.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/1.04, allocations: 16 kB / 0.7418 GB, free: 62.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.041, allocations: 147.8 kB / 0.7419 GB, free: 62.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006546/1.042, allocations: 200.4 kB / 0.7421 GB, free: 62.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/1.042, allocations: 20 kB / 0.7421 GB, free: 62.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007866/1.043, allocations: 0.6087 MB / 0.7427 GB, free: 61.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.043, allocations: 0 / 0.7427 GB, free: 61.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001773/1.044, allocations: 0.6764 MB / 0.7434 GB, free: 61.05 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002716/1.045, allocations: 149.6 kB / 0.7435 GB, free: 60.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008827/1.054, allocations: 3.651 MB / 0.7471 GB, free: 57.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.054, allocations: 4.125 kB / 0.7471 GB, free: 57.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003993/1.058, allocations: 1.507 MB / 0.7486 GB, free: 55.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008325/1.058, allocations: 84.28 kB / 0.7486 GB, free: 55.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/1.062, allocations: 1.596 MB / 0.7502 GB, free: 54.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/1.062, allocations: 1.138 MB / 0.7513 GB, free: 52.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005994/1.063, allocations: 156.6 kB / 0.7515 GB, free: 52.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/1.063, allocations: 51.42 kB / 0.7515 GB, free: 52.64 MB / 490.7 MB Notification: Performance of SimCode: time 7.71e-07/1.063, allocations: 0 / 0.7515 GB, free: 52.64 MB / 490.7 MB Notification: Performance of Templates: time 0.03747/1.1, allocations: 30.02 MB / 0.7808 GB, free: 22.92 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)