Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.000994/0.0009939, allocations: 177 kB / 7.649 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.347/1.347, allocations: 221.5 MB / 229.6 MB, free: 7.598 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.0008496/0.0008496, allocations: 94.97 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5031/0.5031, allocations: 78.94 MB / 410.2 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.296e-06/8.326e-06, allocations: 0 / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1743, allocations: 69.51 MB / 0.5424 GB, free: 5.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4669/0.6412, allocations: 101.6 MB / 0.6417 GB, free: 12.54 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.6415, allocations: 89.06 kB / 0.6418 GB, free: 12.45 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08331/0.7248, allocations: 31.13 MB / 0.6722 GB, free: 13.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.7249, allocations: 0 / 0.6722 GB, free: 13.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001097/0.725, allocations: 32 kB / 0.6722 GB, free: 13.34 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.005344/0.7304, allocations: 1.973 MB / 0.6741 GB, free: 11.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.7304, allocations: 16.03 kB / 0.6741 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003257/0.7337, allocations: 0.5872 MB / 0.6747 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.7354, allocations: 0.9064 MB / 0.6756 GB, free: 9.754 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/0.7356, allocations: 214.5 kB / 0.6758 GB, free: 9.512 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.7358, allocations: 67.89 kB / 0.6759 GB, free: 9.445 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001838/0.7376, allocations: 1.027 MB / 0.6769 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.7395, allocations: 1.094 MB / 0.6779 GB, free: 7.266 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.7396, allocations: 0 / 0.6779 GB, free: 7.266 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-05/0.7397, allocations: 2.125 kB / 0.6779 GB, free: 7.266 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.7397, allocations: 24 kB / 0.6779 GB, free: 7.242 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006621/0.7463, allocations: 4.136 MB / 0.682 GB, free: 2.969 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002577/0.7489, allocations: 1.682 MB / 0.6836 GB, free: 1.164 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009323/0.7499, allocations: 0.6674 MB / 0.6843 GB, free: 0.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.75, allocations: 22.23 kB / 0.6843 GB, free: 492 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.7501, allocations: 43.88 kB / 0.6843 GB, free: 440 kB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 4.498e-06/0.7501, allocations: 0.75 kB / 0.6843 GB, free: 440 kB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.01327/0.7633, allocations: 4.368 MB / 0.6886 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.7635, allocations: 116.1 kB / 0.6887 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.7648, allocations: 0.8404 MB / 0.6895 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.765, allocations: 25.7 kB / 0.6896 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/0.7654, allocations: 0.6224 MB / 0.6902 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003895/0.7658, allocations: 390.1 kB / 0.6905 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/0.7659, allocations: 0 / 0.6905 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.7661, allocations: 351.4 kB / 0.6909 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008275/0.7669, allocations: 0.5025 MB / 0.6914 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009217/0.7678, allocations: 0.6546 MB / 0.692 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008957/0.7687, allocations: 0.5711 MB / 0.6926 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.7687, allocations: 0 / 0.6926 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01334/0.7821, allocations: 4.562 MB / 0.697 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000512/0.7826, allocations: 1.336 MB / 0.6983 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7827, allocations: 0 / 0.6983 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005751/0.7884, allocations: 1.764 MB / 0.7001 GB, free: 120 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.7894, allocations: 183.8 kB / 0.7002 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/0.8045, allocations: 7.475 MB / 0.7075 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.8064, allocations: 222.9 kB / 0.7077 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.8065, allocations: 40 kB / 0.7078 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.8066, allocations: 4 kB / 0.7078 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01289/0.8194, allocations: 4.386 MB / 0.7121 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.8195, allocations: 0 / 0.7121 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005514/0.825, allocations: 1.759 MB / 0.7138 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008633/0.8259, allocations: 175.7 kB / 0.714 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/0.8408, allocations: 7.479 MB / 0.7213 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.8426, allocations: 191 kB / 0.7214 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.8428, allocations: 46.61 kB / 0.7215 GB, free: 9.914 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.0004477/0.8432, allocations: 131.5 kB / 0.7216 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/0.8436, allocations: 142.2 kB / 0.7217 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/0.8568, allocations: 4.462 MB / 0.7261 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.8568, allocations: 12 kB / 0.7261 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.8568, allocations: 4 kB / 0.7261 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/0.8569, allocations: 3.984 kB / 0.7261 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.8726, allocations: 6.204 MB / 0.7322 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.8726, allocations: 0 / 0.7322 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009264/0.8735, allocations: 143.8 kB / 0.7323 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005442/0.879, allocations: 1.719 MB / 0.734 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/0.8793, allocations: 7.984 kB / 0.734 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.8925, allocations: 6.544 MB / 0.7404 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8926, allocations: 1.906 kB / 0.7404 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/0.9083, allocations: 5.342 MB / 0.7456 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006218/0.909, allocations: 223.1 kB / 0.7458 GB, free: 0.6758 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.9092, allocations: 7.984 kB / 0.7458 GB, free: 0.668 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.9105, allocations: 151.8 kB / 0.746 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006429/0.9112, allocations: 208.9 kB / 0.7462 GB, free: 324 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.951e-05/0.9112, allocations: 35.92 kB / 0.7462 GB, free: 288 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009499/0.9122, allocations: 0.6368 MB / 0.7468 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9122, allocations: 0 / 0.7468 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002159/0.9144, allocations: 0.7143 MB / 0.7475 GB, free: 14.93 MB / 0.5573 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.00033/0.9147, allocations: 143 kB / 0.7477 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01043/0.9252, allocations: 3.863 MB / 0.7514 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.9252, allocations: 0 / 0.7514 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004496/0.9297, allocations: 1.561 MB / 0.753 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.931, allocations: 123.5 kB / 0.7531 GB, free: 9.211 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.9348, allocations: 1.869 MB / 0.7549 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009549/0.9358, allocations: 1.253 MB / 0.7561 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009489/0.9367, allocations: 227.2 kB / 0.7563 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.9369, allocations: 59.42 kB / 0.7564 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of SimCode: time 7.72e-07/0.9369, allocations: 0 / 0.7564 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of Templates: time 0.332/1.269, allocations: 30.62 MB / 0.7863 GB, free: 141.5 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)