Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 180.9 kB / 7.651 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.284/1.284, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0009136/0.0009136, allocations: 100 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4496/0.4496, allocations: 78.12 MB / 409.4 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.385e-05/1.386e-05, allocations: 7.938 kB / 485 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1315, allocations: 69.36 MB / 0.5413 GB, free: 6.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3977/0.5292, allocations: 101 MB / 0.64 GB, free: 14.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.5295, allocations: 92.64 kB / 0.6401 GB, free: 14.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08508/0.6146, allocations: 30.84 MB / 0.6702 GB, free: 15.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.308e-06/0.6147, allocations: 0 / 0.6702 GB, free: 15.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.323e-05/0.6148, allocations: 31.94 kB / 0.6702 GB, free: 15.77 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.005362/0.6201, allocations: 1.977 MB / 0.6722 GB, free: 13.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.6202, allocations: 8.031 kB / 0.6722 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/0.6235, allocations: 0.595 MB / 0.6727 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.6252, allocations: 0.9102 MB / 0.6736 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002304/0.6254, allocations: 210.5 kB / 0.6738 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.6256, allocations: 67.89 kB / 0.6739 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00187/0.6275, allocations: 1.034 MB / 0.6749 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.6294, allocations: 1.086 MB / 0.676 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.6294, allocations: 0 / 0.676 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.6295, allocations: 4 kB / 0.676 GB, free: 9.699 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.6296, allocations: 27.94 kB / 0.676 GB, free: 9.672 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006737/0.6363, allocations: 4.132 MB / 0.68 GB, free: 5.402 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002676/0.639, allocations: 1.675 MB / 0.6817 GB, free: 3.609 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000921/0.64, allocations: 0.6674 MB / 0.6823 GB, free: 2.945 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.6401, allocations: 25.27 kB / 0.6823 GB, free: 2.922 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.6401, allocations: 48.62 kB / 0.6824 GB, free: 2.867 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 3.567e-06/0.6401, allocations: 0 / 0.6824 GB, free: 2.867 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.01349/0.6536, allocations: 4.368 MB / 0.6867 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.6537, allocations: 116.1 kB / 0.6868 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.6553, allocations: 0.8443 MB / 0.6876 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002832/0.6556, allocations: 25.7 kB / 0.6876 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005039/0.6561, allocations: 0.6185 MB / 0.6882 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004647/0.6566, allocations: 386.1 kB / 0.6886 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/0.6567, allocations: 4.844 kB / 0.6886 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.6568, allocations: 353.9 kB / 0.6889 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008635/0.6577, allocations: 0.4947 MB / 0.6894 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009949/0.6587, allocations: 0.6624 MB / 0.6901 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009282/0.6596, allocations: 0.5633 MB / 0.6906 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.6596, allocations: 0 / 0.6906 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01416/0.6738, allocations: 4.574 MB / 0.6951 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005895/0.6744, allocations: 1.329 MB / 0.6964 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.6745, allocations: 8 kB / 0.6964 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005933/0.6804, allocations: 1.757 MB / 0.6981 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009882/0.6814, allocations: 179.7 kB / 0.6983 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01625/0.6977, allocations: 7.482 MB / 0.7056 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.6998, allocations: 210.9 kB / 0.7058 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.6999, allocations: 36 kB / 0.7058 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.7, allocations: 8 kB / 0.7058 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01396/0.7139, allocations: 4.389 MB / 0.7101 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.714, allocations: 7.938 kB / 0.7101 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006074/0.7201, allocations: 1.757 MB / 0.7118 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009635/0.7211, allocations: 171.7 kB / 0.712 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/0.7362, allocations: 7.49 MB / 0.7193 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.7381, allocations: 195 kB / 0.7195 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.7382, allocations: 43.17 kB / 0.7195 GB, free: 12.34 MB / 0.5261 GB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.realToBoolean.y,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0004496/0.7386, allocations: 133.1 kB / 0.7197 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.7389, allocations: 142.2 kB / 0.7198 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.7522, allocations: 4.455 MB / 0.7241 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.7522, allocations: 12 kB / 0.7242 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.7522, allocations: 0 / 0.7242 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.732e-05/0.7523, allocations: 3.984 kB / 0.7242 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/0.769, allocations: 6.204 MB / 0.7302 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.7691, allocations: 0.9375 kB / 0.7302 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.7701, allocations: 151.8 kB / 0.7304 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005722/0.7759, allocations: 1.719 MB / 0.732 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000319/0.7762, allocations: 11.98 kB / 0.7321 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/0.7901, allocations: 6.546 MB / 0.7384 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.7902, allocations: 0 / 0.7384 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/0.8052, allocations: 5.339 MB / 0.7437 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.8058, allocations: 227.1 kB / 0.7439 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/0.8061, allocations: 3.984 kB / 0.7439 GB, free: 3.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.8075, allocations: 151.8 kB / 0.744 GB, free: 2.949 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006112/0.8081, allocations: 217.5 kB / 0.7442 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.552e-05/0.8082, allocations: 31.98 kB / 0.7443 GB, free: 2.707 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009464/0.8092, allocations: 0.6368 MB / 0.7449 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8092, allocations: 0 / 0.7449 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00236/0.8116, allocations: 0.7095 MB / 0.7456 GB, free: 1.355 MB / 0.5417 GB 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,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.derivative.x,tGTypeVI.transferFunction.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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.0003563/0.8119, allocations: 140.1 kB / 0.7457 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01149/0.8234, allocations: 3.865 MB / 0.7495 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.8235, allocations: 0 / 0.7495 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005317/0.8288, allocations: 1.563 MB / 0.751 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.8301, allocations: 127 kB / 0.7511 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.8343, allocations: 1.864 MB / 0.753 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009131/0.8352, allocations: 1.253 MB / 0.7542 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001036/0.8362, allocations: 231.9 kB / 0.7544 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.8365, allocations: 63.42 kB / 0.7545 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of SimCode: time 7.22e-07/0.8365, allocations: 0 / 0.7545 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of Templates: time 0.3059/1.142, allocations: 30.62 MB / 0.7844 GB, free: 142.3 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)