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.006895/0.006895, allocations: 171.6 kB / 15.11 MB, free: 5.973 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.218/1.218, allocations: 223.2 MB / 239 MB, free: 1.789 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.0008539/0.0008539, allocations: 105.9 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4156/0.4156, allocations: 79.44 MB / 420.8 MB, free: 43.73 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003545, allocations: 16 kB / 0.489 GB, free: 2.047 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3228, allocations: 69.5 MB / 0.5569 GB, free: 38.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.4343, allocations: 99.19 MB / 0.6538 GB, free: 6.402 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.4346, allocations: 90.45 kB / 0.6539 GB, free: 6.316 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06728/0.5019, allocations: 26.26 MB / 0.6795 GB, free: 11.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5019, allocations: 3.938 kB / 0.6795 GB, free: 11.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.374e-05/0.502, allocations: 20 kB / 0.6795 GB, free: 11.9 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.005775/0.5078, allocations: 1.951 MB / 0.6814 GB, free: 9.891 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5079, allocations: 8.031 kB / 0.6814 GB, free: 9.883 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003385/0.5112, allocations: 0.5565 MB / 0.682 GB, free: 9.324 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.5132, allocations: 0.7828 MB / 0.6827 GB, free: 8.488 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002415/0.5134, allocations: 242.3 kB / 0.683 GB, free: 8.219 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.5136, allocations: 72 kB / 0.683 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.516, allocations: 1.188 MB / 0.6842 GB, free: 6.949 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.5161, allocations: 8 kB / 0.6842 GB, free: 6.941 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.73e-05/0.5162, allocations: 28 kB / 0.6842 GB, free: 6.914 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.5162, allocations: 20 kB / 0.6843 GB, free: 6.895 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.5186, allocations: 1.16 MB / 0.6854 GB, free: 5.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005642/0.5242, allocations: 3.152 MB / 0.6885 GB, free: 2.449 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003086/0.5273, allocations: 1.747 MB / 0.6902 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.509e-05/0.5274, allocations: 16.98 kB / 0.6902 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.5275, allocations: 47.48 kB / 0.6902 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 2.374e-06/0.5275, allocations: 0 / 0.6902 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.02835/0.5558, allocations: 8.849 MB / 0.6989 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.5559, allocations: 86.11 kB / 0.699 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.5575, allocations: 0.7999 MB / 0.6997 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.5576, allocations: 41.7 kB / 0.6998 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004001/0.558, allocations: 0.4967 MB / 0.7003 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004067/0.5585, allocations: 327.2 kB / 0.7006 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.5586, allocations: 24 kB / 0.7006 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5587, allocations: 337.9 kB / 0.7009 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.5601, allocations: 0.6696 MB / 0.7016 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.5616, allocations: 0.7921 MB / 0.7024 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.5631, allocations: 0.7108 MB / 0.703 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5632, allocations: 4 kB / 0.7031 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01437/0.5775, allocations: 5.066 MB / 0.708 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003492/0.5779, allocations: 0.7902 MB / 0.7088 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.578, allocations: 4 kB / 0.7088 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006698/0.5847, allocations: 2.237 MB / 0.711 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/0.5854, allocations: 119.8 kB / 0.7111 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02313/0.6085, allocations: 10.78 MB / 0.7216 GB, free: 56 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.6101, allocations: 195.2 kB / 0.7218 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.6103, allocations: 31.92 kB / 0.7218 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.6103, allocations: 5.719 kB / 0.7218 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01417/0.6245, allocations: 4.902 MB / 0.7266 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.6245, allocations: 3.953 kB / 0.7266 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006746/0.6313, allocations: 2.233 MB / 0.7288 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/0.6319, allocations: 111.8 kB / 0.7289 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02279/0.6547, allocations: 10.75 MB / 0.7394 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.6562, allocations: 191.2 kB / 0.7396 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.6563, allocations: 27.98 kB / 0.7396 GB, free: 13.46 MB / 0.5417 GB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(fixed = true 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 () * Number of clocked 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.0005955/0.6569, allocations: 305 kB / 0.7399 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.6572, allocations: 122.5 kB / 0.74 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/0.6709, allocations: 5.034 MB / 0.7449 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.671, allocations: 12 kB / 0.7449 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.671, allocations: 0 / 0.7449 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.671, allocations: 3.984 kB / 0.7449 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/0.6866, allocations: 6.649 MB / 0.7514 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.6866, allocations: 3.938 kB / 0.7514 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/0.6872, allocations: 95.89 kB / 0.7515 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006276/0.6935, allocations: 2.168 MB / 0.7536 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.6936, allocations: 16 kB / 0.7537 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01938/0.713, allocations: 9.313 MB / 0.7628 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7131, allocations: 4 kB / 0.7628 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.258/0.9711, allocations: 6.002 MB / 0.7686 GB, free: 145.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005633/0.9717, allocations: 207.5 kB / 0.7688 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.9719, allocations: 20.19 kB / 0.7688 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.9731, allocations: 144.4 kB / 0.769 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000684/0.9738, allocations: 199.3 kB / 0.7692 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-05/0.9738, allocations: 21.77 kB / 0.7692 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001038/0.9749, allocations: 0.6427 MB / 0.7698 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9749, allocations: 0 / 0.7698 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001964/0.9769, allocations: 0.6838 MB / 0.7705 GB, free: 145.1 MB / 0.5573 GB 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 () * Number of clocked 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.0002827/0.9771, allocations: 148.9 kB / 0.7706 GB, free: 145 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01091/0.9881, allocations: 4.342 MB / 0.7749 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9881, allocations: 0 / 0.7749 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004266/0.9924, allocations: 1.761 MB / 0.7766 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/0.9931, allocations: 91.22 kB / 0.7767 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.9964, allocations: 2.484 MB / 0.7791 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.9969, allocations: 1.133 MB / 0.7802 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003524/0.9972, allocations: 93.38 kB / 0.7803 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.9974, allocations: 56.83 kB / 0.7803 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.122e-06/0.9974, allocations: 0 / 0.7803 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.04089/1.038, allocations: 28.25 MB / 0.8079 GB, free: 141.4 MB / 0.5573 GB 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)