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.001103/0.001103, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.5 MB / 229.6 MB, free: 3.184 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008172/0.0008171, allocations: 90.41 kB / 280.5 MB, free: 1.152 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4664/0.4664, allocations: 78.12 MB / 409.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.284e-05/2.285e-05, allocations: 0 / 485 MB, free: 4.184 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3461, allocations: 69.36 MB / 0.5413 GB, free: 21.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4704, allocations: 97.87 MB / 0.6369 GB, free: 6.926 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.4707, allocations: 87.92 kB / 0.637 GB, free: 6.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06853/0.5393, allocations: 25.55 MB / 0.6619 GB, free: 13.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5393, allocations: 0 / 0.6619 GB, free: 13.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.984e-05/0.5394, allocations: 20 kB / 0.6619 GB, free: 13.08 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.004746/0.5441, allocations: 1.711 MB / 0.6636 GB, free: 11.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.5442, allocations: 8.031 kB / 0.6636 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/0.5474, allocations: 0.5525 MB / 0.6642 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.549, allocations: 0.7553 MB / 0.6649 GB, free: 9.945 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.5492, allocations: 202.8 kB / 0.6651 GB, free: 9.719 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.5493, allocations: 51.89 kB / 0.6651 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001471/0.5508, allocations: 0.8436 MB / 0.666 GB, free: 8.824 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.5523, allocations: 0.8485 MB / 0.6668 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.5523, allocations: 0 / 0.6668 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.291e-05/0.5524, allocations: 0 / 0.6668 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.5524, allocations: 20 kB / 0.6668 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005231/0.5576, allocations: 3.031 MB / 0.6698 GB, free: 4.797 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.5599, allocations: 1.437 MB / 0.6712 GB, free: 3.238 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007819/0.5607, allocations: 0.5701 MB / 0.6717 GB, free: 2.664 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.5608, allocations: 20.7 kB / 0.6718 GB, free: 2.641 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.5609, allocations: 47.34 kB / 0.6718 GB, free: 2.586 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.496e-06/0.5609, allocations: 0 / 0.6718 GB, free: 2.586 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.3271/0.888, allocations: 4.153 MB / 0.6759 GB, free: 105.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.888, allocations: 87.89 kB / 0.6759 GB, free: 105.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.8895, allocations: 0.707 MB / 0.6766 GB, free: 105.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002075/0.8897, allocations: 25.7 kB / 0.6767 GB, free: 105.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.89, allocations: 0.4898 MB / 0.6771 GB, free: 105.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.8904, allocations: 313.5 kB / 0.6774 GB, free: 105.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.8904, allocations: 4 kB / 0.6774 GB, free: 105.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.8905, allocations: 347.1 kB / 0.6778 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007512/0.8913, allocations: 435.3 kB / 0.6782 GB, free: 104.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007825/0.8921, allocations: 0.5332 MB / 0.6787 GB, free: 104.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007944/0.8929, allocations: 476.6 kB / 0.6792 GB, free: 104.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.8929, allocations: 4.531 kB / 0.6792 GB, free: 104.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01297/0.9058, allocations: 4.305 MB / 0.6834 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000166/0.906, allocations: 0.7995 MB / 0.6842 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.9061, allocations: 1.625 kB / 0.6842 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005725/0.9118, allocations: 1.75 MB / 0.6859 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007477/0.9126, allocations: 118.1 kB / 0.686 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.9266, allocations: 7.484 MB / 0.6933 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.9281, allocations: 176 kB / 0.6934 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.9282, allocations: 31.14 kB / 0.6935 GB, free: 101.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.9283, allocations: 3.906 kB / 0.6935 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01162/0.9399, allocations: 4.162 MB / 0.6975 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.9399, allocations: 3.844 kB / 0.6976 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005278/0.9452, allocations: 1.749 MB / 0.6993 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.9458, allocations: 116.4 kB / 0.6994 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.9596, allocations: 7.493 MB / 0.7067 GB, free: 96.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.9611, allocations: 160.5 kB / 0.7068 GB, free: 96.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.9613, allocations: 26.2 kB / 0.7069 GB, free: 96.08 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.0003735/0.9617, allocations: 125.6 kB / 0.707 GB, free: 95.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.962, allocations: 113.8 kB / 0.7071 GB, free: 95.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/0.9737, allocations: 4.258 MB / 0.7113 GB, free: 94.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.9738, allocations: 11.28 kB / 0.7113 GB, free: 94.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9738, allocations: 3.812 kB / 0.7113 GB, free: 94.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.178e-05/0.9739, allocations: 11.75 kB / 0.7113 GB, free: 94.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.9879, allocations: 5.804 MB / 0.7169 GB, free: 89.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.9879, allocations: 0 / 0.7169 GB, free: 89.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.9885, allocations: 91.47 kB / 0.717 GB, free: 89.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004901/0.9934, allocations: 1.728 MB / 0.7187 GB, free: 88.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.9936, allocations: 0 / 0.7187 GB, free: 88.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/1.006, allocations: 6.552 MB / 0.7251 GB, free: 82.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.006, allocations: 0 / 0.7251 GB, free: 82.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/1.018, allocations: 5.019 MB / 0.73 GB, free: 77.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000389/1.018, allocations: 199.5 kB / 0.7302 GB, free: 76.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/1.019, allocations: 0 / 0.7302 GB, free: 76.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/1.02, allocations: 131.9 kB / 0.7303 GB, free: 76.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000529/1.02, allocations: 196.4 kB / 0.7305 GB, free: 76.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.911e-05/1.02, allocations: 23.98 kB / 0.7305 GB, free: 76.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007633/1.021, allocations: 0.5372 MB / 0.7311 GB, free: 76.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.021, allocations: 5.219 kB / 0.7311 GB, free: 76.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002077/1.023, allocations: 0.6285 MB / 0.7317 GB, free: 75.43 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.0002941/1.024, allocations: 134.8 kB / 0.7318 GB, free: 75.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008746/1.032, allocations: 3.541 MB / 0.7353 GB, free: 71.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.032, allocations: 0 / 0.7353 GB, free: 71.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003878/1.036, allocations: 1.456 MB / 0.7367 GB, free: 70.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009168/1.037, allocations: 71.11 kB / 0.7368 GB, free: 70.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/1.041, allocations: 1.554 MB / 0.7383 GB, free: 68.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/1.042, allocations: 1.13 MB / 0.7394 GB, free: 67.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007736/1.043, allocations: 160.7 kB / 0.7395 GB, free: 67.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/1.043, allocations: 47.44 kB / 0.7396 GB, free: 67.27 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/1.043, allocations: 0 / 0.7396 GB, free: 67.27 MB / 490.7 MB Notification: Performance of Templates: time 0.03985/1.083, allocations: 27.83 MB / 0.7668 GB, free: 39.65 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)