Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000906/0.0009061, allocations: 170.3 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.3 MB / 213.4 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008022/0.0008022, allocations: 86.7 kB / 261.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06509/0.06509, allocations: 12.6 MB / 321.9 MB, free: 15.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4372/0.4372, allocations: 78.05 MB / 450.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.432e-05/1.433e-05, allocations: 0 / 0.5147 GB, free: 41.71 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 69.33 MB / 0.5824 GB, free: 320 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.2329, allocations: 99.46 MB / 0.6795 GB, free: 12.71 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.2332, allocations: 83.94 kB / 0.6796 GB, free: 12.63 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3162/0.5494, allocations: 24.81 MB / 0.7038 GB, free: 96.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5494, allocations: 1.188 kB / 0.7038 GB, free: 96.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.262e-05/0.5495, allocations: 18.56 kB / 0.7039 GB, free: 96.57 MB / 474.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.004929/0.5544, allocations: 1.715 MB / 0.7055 GB, free: 95.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.5545, allocations: 9.438 kB / 0.7055 GB, free: 95.84 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/0.5578, allocations: 0.5549 MB / 0.7061 GB, free: 95.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.5592, allocations: 0.7646 MB / 0.7068 GB, free: 95.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.5594, allocations: 201.3 kB / 0.707 GB, free: 95.24 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.5595, allocations: 46.09 kB / 0.7071 GB, free: 95.24 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001284/0.5608, allocations: 0.8434 MB / 0.7079 GB, free: 95.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.562, allocations: 0.8545 MB / 0.7087 GB, free: 95.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.5621, allocations: 0 / 0.7087 GB, free: 95.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/0.5622, allocations: 0 / 0.7087 GB, free: 95.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.5622, allocations: 19.09 kB / 0.7087 GB, free: 95.16 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004369/0.5665, allocations: 3.023 MB / 0.7117 GB, free: 94.37 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.5685, allocations: 1.438 MB / 0.7131 GB, free: 93.76 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006565/0.5691, allocations: 0.5759 MB / 0.7137 GB, free: 93.64 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.5692, allocations: 18.05 kB / 0.7137 GB, free: 93.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.5693, allocations: 46.84 kB / 0.7137 GB, free: 93.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=93): time 2.034e-06/0.5693, allocations: 0 / 0.7137 GB, free: 93.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=93): time 0.01129/0.5806, allocations: 4.165 MB / 0.7178 GB, free: 92.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.5806, allocations: 89.55 kB / 0.7179 GB, free: 92.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009385/0.5816, allocations: 0.705 MB / 0.7186 GB, free: 92.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.5818, allocations: 25.7 kB / 0.7186 GB, free: 92.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.582, allocations: 0.4884 MB / 0.7191 GB, free: 91.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.5823, allocations: 315.2 kB / 0.7194 GB, free: 91.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.5823, allocations: 0 / 0.7194 GB, free: 91.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.5824, allocations: 342.6 kB / 0.7197 GB, free: 91.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005799/0.583, allocations: 434.6 kB / 0.7201 GB, free: 90.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/0.5836, allocations: 0.5354 MB / 0.7206 GB, free: 90.13 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/0.5842, allocations: 475.6 kB / 0.7211 GB, free: 89.67 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5842, allocations: 0 / 0.7211 GB, free: 89.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01121/0.5954, allocations: 4.316 MB / 0.7253 GB, free: 85.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.5956, allocations: 0.8024 MB / 0.7261 GB, free: 84.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5956, allocations: 0 / 0.7261 GB, free: 84.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004939/0.6006, allocations: 1.75 MB / 0.7278 GB, free: 82.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006138/0.6012, allocations: 115.8 kB / 0.7279 GB, free: 82.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.6137, allocations: 7.503 MB / 0.7352 GB, free: 74.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.6152, allocations: 175.1 kB / 0.7354 GB, free: 74.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-05/0.6153, allocations: 35.98 kB / 0.7354 GB, free: 74.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.6153, allocations: 4 kB / 0.7354 GB, free: 74.78 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01118/0.6265, allocations: 4.152 MB / 0.7395 GB, free: 70.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.6265, allocations: 4 kB / 0.7395 GB, free: 70.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005064/0.6316, allocations: 1.753 MB / 0.7412 GB, free: 68.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/0.6322, allocations: 115.8 kB / 0.7413 GB, free: 68.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/0.645, allocations: 7.48 MB / 0.7486 GB, free: 61.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.6464, allocations: 163.2 kB / 0.7488 GB, free: 60.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.134e-05/0.6465, allocations: 31.98 kB / 0.7488 GB, free: 60.96 MB / 474.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.0002828/0.6468, allocations: 112.9 kB / 0.7489 GB, free: 60.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.647, allocations: 114.6 kB / 0.749 GB, free: 60.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/0.6585, allocations: 4.264 MB / 0.7532 GB, free: 56.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.6585, allocations: 8 kB / 0.7532 GB, free: 56.44 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.6585, allocations: 0 / 0.7532 GB, free: 56.44 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.542e-05/0.6586, allocations: 7.984 kB / 0.7532 GB, free: 56.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/0.6715, allocations: 5.806 MB / 0.7589 GB, free: 50.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.6715, allocations: 3.984 kB / 0.7589 GB, free: 50.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/0.6721, allocations: 87.91 kB / 0.759 GB, free: 50.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00462/0.6767, allocations: 1.722 MB / 0.7606 GB, free: 48.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.255e-05/0.6768, allocations: 4 kB / 0.7607 GB, free: 48.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/0.688, allocations: 6.564 MB / 0.7671 GB, free: 42.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.688, allocations: 0 / 0.7671 GB, free: 42.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/0.7003, allocations: 5.004 MB / 0.7719 GB, free: 36.99 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.7007, allocations: 207.4 kB / 0.7721 GB, free: 36.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.7009, allocations: 0 / 0.7721 GB, free: 36.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.702, allocations: 131.9 kB / 0.7723 GB, free: 36.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004553/0.7024, allocations: 200.4 kB / 0.7725 GB, free: 36.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/0.7025, allocations: 20 kB / 0.7725 GB, free: 36.42 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005869/0.7031, allocations: 0.545 MB / 0.773 GB, free: 35.87 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.7031, allocations: 0 / 0.773 GB, free: 35.87 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00155/0.7047, allocations: 0.6239 MB / 0.7736 GB, free: 35.24 MB / 474.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.0002267/0.7049, allocations: 129.7 kB / 0.7737 GB, free: 35.11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008361/0.7133, allocations: 3.523 MB / 0.7772 GB, free: 31.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.7133, allocations: 4.188 kB / 0.7772 GB, free: 31.56 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003687/0.717, allocations: 1.465 MB / 0.7786 GB, free: 30.08 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00089/0.7179, allocations: 72.89 kB / 0.7787 GB, free: 30.01 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.721, allocations: 1.563 MB / 0.7802 GB, free: 28.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.7215, allocations: 1.138 MB / 0.7813 GB, free: 27.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006296/0.7222, allocations: 153 kB / 0.7815 GB, free: 27.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.7223, allocations: 51.42 kB / 0.7815 GB, free: 27.04 MB / 474.7 MB Notification: Performance of SimCode: time 1.273e-06/0.7223, allocations: 0 / 0.7815 GB, free: 27.04 MB / 474.7 MB Notification: Performance of Templates: time 0.03302/0.7553, allocations: 27.85 MB / 0.8087 GB, free: 15.19 MB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)