Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.001187/0.001187, allocations: 175 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.294/1.294, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0008857/0.0008858, allocations: 84.11 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4433/0.4433, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.325e-05, allocations: 4 kB / 491.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.352, allocations: 69.34 MB / 0.548 GB, free: 20.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.4717, allocations: 98.53 MB / 0.6442 GB, free: 2.02 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.472, allocations: 87.94 kB / 0.6443 GB, free: 1.934 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06743/0.5394, allocations: 25.89 MB / 0.6696 GB, free: 7.852 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5395, allocations: 0 / 0.6696 GB, free: 7.852 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.058e-05/0.5395, allocations: 20 kB / 0.6696 GB, free: 7.832 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.004557/0.5441, allocations: 1.713 MB / 0.6713 GB, free: 6.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5441, allocations: 11.97 kB / 0.6713 GB, free: 6.059 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.5474, allocations: 0.5564 MB / 0.6718 GB, free: 5.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.5488, allocations: 0.7436 MB / 0.6726 GB, free: 4.703 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/0.549, allocations: 230.8 kB / 0.6728 GB, free: 4.445 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.5492, allocations: 79.98 kB / 0.6729 GB, free: 4.367 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.5509, allocations: 0.954 MB / 0.6738 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.5509, allocations: 0 / 0.6738 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.516e-05/0.551, allocations: 32 kB / 0.6738 GB, free: 3.371 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.551, allocations: 16 kB / 0.6738 GB, free: 3.355 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.5526, allocations: 0.8904 MB / 0.6747 GB, free: 2.461 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3176/0.8702, allocations: 3.148 MB / 0.6778 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/0.8731, allocations: 1.475 MB / 0.6792 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.8742, allocations: 0.5951 MB / 0.6798 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.8743, allocations: 14.66 kB / 0.6798 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.8743, allocations: 45.06 kB / 0.6799 GB, free: 103.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 4.238e-06/0.8744, allocations: 0 / 0.6799 GB, free: 103.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01499/0.8893, allocations: 4.236 MB / 0.684 GB, free: 103.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.8894, allocations: 88.14 kB / 0.6841 GB, free: 103.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.8907, allocations: 0.7743 MB / 0.6848 GB, free: 103 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001743/0.8909, allocations: 47.56 kB / 0.6849 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.8912, allocations: 0.494 MB / 0.6854 GB, free: 102.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.8915, allocations: 326.4 kB / 0.6857 GB, free: 102.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.8916, allocations: 17.22 kB / 0.6857 GB, free: 102.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.8917, allocations: 341 kB / 0.686 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.8924, allocations: 451.5 kB / 0.6864 GB, free: 102.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007048/0.8931, allocations: 0.5515 MB / 0.687 GB, free: 102.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007373/0.8938, allocations: 499.9 kB / 0.6875 GB, free: 102.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.8939, allocations: 0 / 0.6875 GB, free: 102.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01227/0.9061, allocations: 4.377 MB / 0.6917 GB, free: 101.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002002/0.9064, allocations: 0.8005 MB / 0.6925 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.9064, allocations: 0 / 0.6925 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005449/0.9118, allocations: 1.805 MB / 0.6943 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/0.9125, allocations: 120.5 kB / 0.6944 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/0.9273, allocations: 7.728 MB / 0.7019 GB, free: 96.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.929, allocations: 191.5 kB / 0.7021 GB, free: 96.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.9292, allocations: 28.5 kB / 0.7021 GB, free: 96.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.9292, allocations: 3.812 kB / 0.7022 GB, free: 96.81 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01262/0.9419, allocations: 4.255 MB / 0.7063 GB, free: 95.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.9419, allocations: 7.609 kB / 0.7063 GB, free: 95.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005707/0.9476, allocations: 1.806 MB / 0.7081 GB, free: 94.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007156/0.9484, allocations: 114.1 kB / 0.7082 GB, free: 94.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01516/0.9636, allocations: 7.683 MB / 0.7157 GB, free: 87.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.9652, allocations: 189.5 kB / 0.7159 GB, free: 87.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.9654, allocations: 32 kB / 0.7159 GB, free: 87.48 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.000372/0.9658, allocations: 153.9 kB / 0.716 GB, free: 87.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/0.9661, allocations: 118.5 kB / 0.7162 GB, free: 87.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/0.9784, allocations: 4.35 MB / 0.7204 GB, free: 83.83 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.9785, allocations: 12 kB / 0.7204 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.9785, allocations: 0 / 0.7204 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.9785, allocations: 7.141 kB / 0.7204 GB, free: 83.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.9929, allocations: 5.973 MB / 0.7263 GB, free: 79.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.993, allocations: 0 / 0.7263 GB, free: 79.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.9936, allocations: 98.62 kB / 0.7264 GB, free: 78.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005185/0.9988, allocations: 1.737 MB / 0.728 GB, free: 77.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/0.999, allocations: 20 kB / 0.7281 GB, free: 77.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/1.012, allocations: 6.689 MB / 0.7346 GB, free: 70.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.012, allocations: 4 kB / 0.7346 GB, free: 70.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/1.025, allocations: 5.103 MB / 0.7396 GB, free: 65.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004505/1.026, allocations: 211.4 kB / 0.7398 GB, free: 65.24 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/1.026, allocations: 19.98 kB / 0.7398 GB, free: 65.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/1.027, allocations: 147.6 kB / 0.7399 GB, free: 65.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000573/1.028, allocations: 196.4 kB / 0.7401 GB, free: 64.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.427e-05/1.028, allocations: 20 kB / 0.7402 GB, free: 64.87 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008015/1.029, allocations: 0.6087 MB / 0.7408 GB, free: 64.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/1.029, allocations: 0 / 0.7408 GB, free: 64.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001995/1.031, allocations: 0.6729 MB / 0.7414 GB, free: 63.58 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.0003044/1.031, allocations: 149.9 kB / 0.7416 GB, free: 63.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008953/1.04, allocations: 3.641 MB / 0.7451 GB, free: 59.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.04, allocations: 0 / 0.7451 GB, free: 59.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00404/1.044, allocations: 1.519 MB / 0.7466 GB, free: 58.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/1.045, allocations: 80.3 kB / 0.7467 GB, free: 58.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/1.048, allocations: 1.598 MB / 0.7482 GB, free: 56.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/1.049, allocations: 1.138 MB / 0.7493 GB, free: 55.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006843/1.05, allocations: 165 kB / 0.7495 GB, free: 55.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/1.05, allocations: 43.38 kB / 0.7495 GB, free: 55.18 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/1.05, allocations: 0 / 0.7495 GB, free: 55.18 MB / 490.7 MB Notification: Performance of Templates: time 0.04041/1.09, allocations: 30.03 MB / 0.7789 GB, free: 25.45 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)