Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 174.7 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.266/1.266, 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.0009173/0.0009173, allocations: 94.94 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4483/0.4483, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.365e-05, allocations: 0 / 492.8 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4398, allocations: 69.5 MB / 0.5491 GB, free: 19.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.6175, allocations: 99.95 MB / 0.6467 GB, free: 15.69 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.6178, allocations: 83.95 kB / 0.6468 GB, free: 15.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08007/0.6979, allocations: 29.7 MB / 0.6758 GB, free: 1.707 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.698, allocations: 0 / 0.6758 GB, free: 1.707 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.257e-05/0.6981, allocations: 28 kB / 0.6758 GB, free: 1.68 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.3364/1.034, allocations: 1.89 MB / 0.6777 GB, free: 101.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001071/1.035, allocations: 12.81 kB / 0.6777 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00705/1.042, allocations: 0.5764 MB / 0.6782 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003841/1.046, allocations: 0.8648 MB / 0.6791 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003856/1.046, allocations: 245.6 kB / 0.6793 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003971/1.046, allocations: 97.17 kB / 0.6794 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/1.05, allocations: 1.182 MB / 0.6806 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/1.05, allocations: 1.281 kB / 0.6806 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/1.05, allocations: 40.91 kB / 0.6806 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/1.05, allocations: 27.12 kB / 0.6806 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003262/1.054, allocations: 0.9931 MB / 0.6816 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/1.065, allocations: 4.484 MB / 0.686 GB, free: 99.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004354/1.069, allocations: 1.566 MB / 0.6875 GB, free: 98.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/1.071, allocations: 0.655 MB / 0.6882 GB, free: 98.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/1.071, allocations: 14.25 kB / 0.6882 GB, free: 98.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.071, allocations: 53.75 kB / 0.6882 GB, free: 98.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 5.43e-06/1.071, allocations: 0 / 0.6882 GB, free: 98.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.01969/1.091, allocations: 4.34 MB / 0.6925 GB, free: 98.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.67e-05/1.091, allocations: 115.2 kB / 0.6926 GB, free: 98.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/1.093, allocations: 0.882 MB / 0.6934 GB, free: 98.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003302/1.094, allocations: 44.8 kB / 0.6935 GB, free: 98.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004859/1.094, allocations: 0.5889 MB / 0.6941 GB, free: 97.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004724/1.095, allocations: 396.6 kB / 0.6944 GB, free: 97.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/1.095, allocations: 19.31 kB / 0.6944 GB, free: 97.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/1.095, allocations: 342.2 kB / 0.6948 GB, free: 96.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/1.096, allocations: 499.2 kB / 0.6952 GB, free: 96.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/1.098, allocations: 0.6692 MB / 0.6959 GB, free: 96.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/1.099, allocations: 0.5444 MB / 0.6964 GB, free: 96.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/1.099, allocations: 7.891 kB / 0.6964 GB, free: 96.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0191/1.118, allocations: 4.553 MB / 0.7009 GB, free: 95.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004239/1.119, allocations: 1.681 MB / 0.7025 GB, free: 93.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/1.119, allocations: 3.969 kB / 0.7025 GB, free: 93.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00848/1.127, allocations: 1.818 MB / 0.7043 GB, free: 93.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.129, allocations: 177.3 kB / 0.7045 GB, free: 93.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02266/1.151, allocations: 7.722 MB / 0.712 GB, free: 88.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/1.154, allocations: 205.8 kB / 0.7122 GB, free: 88.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/1.154, allocations: 43.28 kB / 0.7123 GB, free: 88.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.154, allocations: 4 kB / 0.7123 GB, free: 88.06 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01924/1.173, allocations: 4.405 MB / 0.7166 GB, free: 84.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/1.173, allocations: 4 kB / 0.7166 GB, free: 84.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008927/1.182, allocations: 1.821 MB / 0.7183 GB, free: 83.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.183, allocations: 158.2 kB / 0.7185 GB, free: 82.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02423/1.208, allocations: 7.687 MB / 0.726 GB, free: 75.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/1.21, allocations: 195.7 kB / 0.7262 GB, free: 75.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/1.211, allocations: 36 kB / 0.7262 GB, free: 75.77 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.00049/1.211, allocations: 165.2 kB / 0.7264 GB, free: 75.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005681/1.212, allocations: 142.3 kB / 0.7265 GB, free: 75.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02009/1.232, allocations: 4.462 MB / 0.7309 GB, free: 71.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/1.232, allocations: 12 kB / 0.7309 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.232, allocations: 0 / 0.7309 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.797e-05/1.232, allocations: 7.219 kB / 0.7309 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02093/1.253, allocations: 6.252 MB / 0.737 GB, free: 66.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/1.253, allocations: 0 / 0.737 GB, free: 66.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.254, allocations: 139.6 kB / 0.7371 GB, free: 66.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007063/1.261, allocations: 1.73 MB / 0.7388 GB, free: 64.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002863/1.261, allocations: 27.98 kB / 0.7388 GB, free: 64.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/1.279, allocations: 6.694 MB / 0.7454 GB, free: 57.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.279, allocations: 3.938 kB / 0.7454 GB, free: 57.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02111/1.3, allocations: 5.268 MB / 0.7505 GB, free: 52.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007191/1.301, allocations: 227.1 kB / 0.7507 GB, free: 52.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003239/1.302, allocations: 16 kB / 0.7508 GB, free: 52.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/1.303, allocations: 147.9 kB / 0.7509 GB, free: 52.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005761/1.304, allocations: 208.6 kB / 0.7511 GB, free: 52.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-05/1.304, allocations: 27.98 kB / 0.7511 GB, free: 52.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007732/1.305, allocations: 0.6765 MB / 0.7518 GB, free: 51.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.305, allocations: 4 kB / 0.7518 GB, free: 51.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001909/1.307, allocations: 0.7599 MB / 0.7525 GB, free: 50.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * 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.0002838/1.307, allocations: 146 kB / 0.7527 GB, free: 50.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009066/1.316, allocations: 3.88 MB / 0.7565 GB, free: 46.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/1.316, allocations: 0 / 0.7565 GB, free: 46.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003975/1.32, allocations: 1.56 MB / 0.758 GB, free: 45.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/1.321, allocations: 120.6 kB / 0.7581 GB, free: 44.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/1.324, allocations: 1.786 MB / 0.7598 GB, free: 43.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/1.325, allocations: 1.213 MB / 0.761 GB, free: 41.85 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006914/1.325, allocations: 174.3 kB / 0.7612 GB, free: 41.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/1.325, allocations: 63.42 kB / 0.7613 GB, free: 41.62 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/1.325, allocations: 0 / 0.7613 GB, free: 41.62 MB / 490.7 MB Notification: Performance of Templates: time 0.04195/1.367, allocations: 31.9 MB / 0.7924 GB, free: 10.03 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)