Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.001012/0.001013, allocations: 173.4 kB / 7.647 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: 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.0008681/0.0008681, allocations: 90.84 kB / 280.5 MB, free: 1.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4947/0.4947, allocations: 78.94 MB / 410.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.916e-05/1.904e-05, allocations: 4 kB / 485.9 MB, free: 3.277 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3637, allocations: 69.52 MB / 0.5424 GB, free: 21.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.4894, allocations: 98.45 MB / 0.6386 GB, free: 5.348 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.4897, allocations: 83.95 kB / 0.6387 GB, free: 5.266 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07035/0.5601, allocations: 25.84 MB / 0.6639 GB, free: 11.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5601, allocations: 0 / 0.6639 GB, free: 11.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.102e-05/0.5602, allocations: 23.94 kB / 0.6639 GB, free: 11.21 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.004635/0.5648, allocations: 1.705 MB / 0.6656 GB, free: 9.461 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.5649, allocations: 8.031 kB / 0.6656 GB, free: 9.453 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/0.5682, allocations: 0.5564 MB / 0.6661 GB, free: 8.895 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.5701, allocations: 0.7631 MB / 0.6669 GB, free: 8.074 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/0.5703, allocations: 194.8 kB / 0.6671 GB, free: 7.855 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.5705, allocations: 51.94 kB / 0.6671 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001532/0.572, allocations: 0.8514 MB / 0.6679 GB, free: 6.953 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.5735, allocations: 0.8485 MB / 0.6688 GB, free: 6.094 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.5735, allocations: 0 / 0.6688 GB, free: 6.094 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.303e-05/0.5736, allocations: 0 / 0.6688 GB, free: 6.094 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.5736, allocations: 16 kB / 0.6688 GB, free: 6.078 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005437/0.5791, allocations: 3.023 MB / 0.6717 GB, free: 2.938 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/0.5814, allocations: 1.44 MB / 0.6731 GB, free: 1.375 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000788/0.5822, allocations: 0.5701 MB / 0.6737 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.5824, allocations: 20.75 kB / 0.6737 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.5824, allocations: 39.34 kB / 0.6738 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 4.478e-06/0.5824, allocations: 7.984 kB / 0.6738 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.3182/0.9006, allocations: 4.154 MB / 0.6778 GB, free: 105.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.9007, allocations: 90.73 kB / 0.6779 GB, free: 105.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.9021, allocations: 0.7053 MB / 0.6786 GB, free: 105.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002546/0.9024, allocations: 25.7 kB / 0.6786 GB, free: 105.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/0.9027, allocations: 0.491 MB / 0.6791 GB, free: 105.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.9031, allocations: 317.9 kB / 0.6794 GB, free: 105.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.9031, allocations: 1.344 kB / 0.6794 GB, free: 105.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.072e-05/0.9032, allocations: 340 kB / 0.6797 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007551/0.904, allocations: 438.8 kB / 0.6802 GB, free: 104.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008855/0.9049, allocations: 0.5338 MB / 0.6807 GB, free: 104.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008325/0.9057, allocations: 480.1 kB / 0.6811 GB, free: 104.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.9057, allocations: 1.094 kB / 0.6811 GB, free: 104.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0134/0.9191, allocations: 4.305 MB / 0.6853 GB, free: 104.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.9194, allocations: 0.8002 MB / 0.6861 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.9194, allocations: 2.812 kB / 0.6861 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005565/0.925, allocations: 1.748 MB / 0.6878 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.9257, allocations: 122.1 kB / 0.6879 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.9397, allocations: 7.478 MB / 0.6952 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.9412, allocations: 177.2 kB / 0.6954 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.184e-05/0.9413, allocations: 34.75 kB / 0.6955 GB, free: 100.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.9413, allocations: 2.844 kB / 0.6955 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0118/0.9531, allocations: 4.153 MB / 0.6995 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/0.9532, allocations: 2.812 kB / 0.6995 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005221/0.9584, allocations: 1.75 MB / 0.7012 GB, free: 99.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006538/0.9591, allocations: 112 kB / 0.7013 GB, free: 99.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/0.9733, allocations: 7.499 MB / 0.7087 GB, free: 95.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.975, allocations: 165.7 kB / 0.7088 GB, free: 95.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/0.9751, allocations: 24 kB / 0.7088 GB, free: 95.41 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.0003351/0.9754, allocations: 129.7 kB / 0.709 GB, free: 95.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.9756, allocations: 118.5 kB / 0.7091 GB, free: 95.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/0.9872, allocations: 4.264 MB / 0.7132 GB, free: 91.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.9873, allocations: 8 kB / 0.7132 GB, free: 91.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.9873, allocations: 0 / 0.7132 GB, free: 91.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.9873, allocations: 3.562 kB / 0.7132 GB, free: 91.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/1.001, allocations: 5.797 MB / 0.7189 GB, free: 87.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/1.001, allocations: 0 / 0.7189 GB, free: 87.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/1.002, allocations: 96.64 kB / 0.719 GB, free: 87.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005153/1.007, allocations: 1.722 MB / 0.7207 GB, free: 85.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002668/1.007, allocations: 15.38 kB / 0.7207 GB, free: 85.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/1.02, allocations: 6.55 MB / 0.7271 GB, free: 79.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/1.02, allocations: 6.562 kB / 0.7271 GB, free: 79.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/1.033, allocations: 5.003 MB / 0.732 GB, free: 74.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006279/1.034, allocations: 208.4 kB / 0.7322 GB, free: 74.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004165/1.034, allocations: 7.984 kB / 0.7322 GB, free: 74.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/1.036, allocations: 127.9 kB / 0.7323 GB, free: 73.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006701/1.037, allocations: 196.4 kB / 0.7325 GB, free: 73.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/1.037, allocations: 24 kB / 0.7325 GB, free: 73.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008028/1.037, allocations: 0.545 MB / 0.7331 GB, free: 73.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.037, allocations: 0 / 0.7331 GB, free: 73.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00233/1.04, allocations: 0.6175 MB / 0.7337 GB, free: 72.51 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.0003293/1.04, allocations: 134.6 kB / 0.7338 GB, free: 72.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009141/1.049, allocations: 3.529 MB / 0.7372 GB, free: 68.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.049, allocations: 0 / 0.7372 GB, free: 68.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003982/1.053, allocations: 1.461 MB / 0.7387 GB, free: 67.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/1.054, allocations: 69.72 kB / 0.7387 GB, free: 67.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/1.058, allocations: 1.556 MB / 0.7402 GB, free: 65.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/1.059, allocations: 1.134 MB / 0.7414 GB, free: 64.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007245/1.059, allocations: 158.9 kB / 0.7415 GB, free: 64.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/1.059, allocations: 51.42 kB / 0.7416 GB, free: 64.36 MB / 490.7 MB Notification: Performance of SimCode: time 7.61e-07/1.059, allocations: 0 / 0.7416 GB, free: 64.36 MB / 490.7 MB Notification: Performance of Templates: time 0.03799/1.097, allocations: 27.82 MB / 0.7687 GB, free: 36.74 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)