Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 174.6 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.205/1.205, 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.0008004/0.0008005, allocations: 98.73 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4778/0.4778, allocations: 78.02 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.56e-05, allocations: 0 / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3056, allocations: 69.35 MB / 0.5479 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.4271, allocations: 99.28 MB / 0.6449 GB, free: 1.168 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.4274, allocations: 83.94 kB / 0.645 GB, free: 1.086 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08059/0.508, allocations: 28.75 MB / 0.6731 GB, free: 4.152 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5081, allocations: 0 / 0.6731 GB, free: 4.152 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.577e-05/0.5082, allocations: 28 kB / 0.6731 GB, free: 4.125 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.007882/0.5161, allocations: 1.852 MB / 0.6749 GB, free: 2.223 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.5162, allocations: 15.97 kB / 0.6749 GB, free: 2.207 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00616/0.5223, allocations: 0.5795 MB / 0.6755 GB, free: 1.625 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/0.5253, allocations: 0.8424 MB / 0.6763 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.5257, allocations: 238.4 kB / 0.6765 GB, free: 476 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002843/0.526, allocations: 92 kB / 0.6766 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3712/0.8973, allocations: 1.146 MB / 0.6777 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.8974, allocations: 0.9375 kB / 0.6777 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.8975, allocations: 36.92 kB / 0.6778 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.8975, allocations: 24.86 kB / 0.6778 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.8995, allocations: 0.9777 MB / 0.6787 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007448/0.907, allocations: 4.259 MB / 0.6829 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.9097, allocations: 1.549 MB / 0.6844 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.9108, allocations: 0.6457 MB / 0.685 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.9109, allocations: 24.25 kB / 0.6851 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.911, allocations: 42.22 kB / 0.6851 GB, free: 100.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 2.985e-06/0.911, allocations: 0 / 0.6851 GB, free: 100.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01312/0.9241, allocations: 4.302 MB / 0.6893 GB, free: 100 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.9242, allocations: 113.6 kB / 0.6894 GB, free: 99.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.9254, allocations: 0.8524 MB / 0.6902 GB, free: 99.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002653/0.9257, allocations: 42.67 kB / 0.6903 GB, free: 99.74 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.926, allocations: 0.5824 MB / 0.6909 GB, free: 99.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.9264, allocations: 372.9 kB / 0.6912 GB, free: 99.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.9264, allocations: 21.75 kB / 0.6912 GB, free: 99.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.9265, allocations: 350 kB / 0.6916 GB, free: 99.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007396/0.9273, allocations: 480.2 kB / 0.692 GB, free: 99.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007937/0.9281, allocations: 0.6493 MB / 0.6927 GB, free: 98.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000813/0.9289, allocations: 0.5383 MB / 0.6932 GB, free: 98.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.9289, allocations: 0 / 0.6932 GB, free: 98.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0127/0.9416, allocations: 4.517 MB / 0.6976 GB, free: 97.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000291/0.9419, allocations: 1.512 MB / 0.6991 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.942, allocations: 3.719 kB / 0.6991 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005531/0.9475, allocations: 1.808 MB / 0.7008 GB, free: 95.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008092/0.9483, allocations: 156 kB / 0.701 GB, free: 95.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/0.963, allocations: 7.709 MB / 0.7085 GB, free: 91.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.9646, allocations: 211.4 kB / 0.7087 GB, free: 91.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.9648, allocations: 38.73 kB / 0.7088 GB, free: 91.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.9648, allocations: 6.656 kB / 0.7088 GB, free: 91.36 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01253/0.9773, allocations: 4.369 MB / 0.713 GB, free: 88.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.9774, allocations: 11.56 kB / 0.713 GB, free: 88.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005434/0.9828, allocations: 1.803 MB / 0.7148 GB, free: 87.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/0.9836, allocations: 149.3 kB / 0.7149 GB, free: 87.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.9977, allocations: 7.696 MB / 0.7225 GB, free: 80.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.9993, allocations: 182.3 kB / 0.7226 GB, free: 79.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.9995, allocations: 43.23 kB / 0.7227 GB, free: 79.87 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.000361/0.9998, allocations: 167.8 kB / 0.7228 GB, free: 79.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/1, allocations: 138.3 kB / 0.723 GB, free: 79.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/1.013, allocations: 4.438 MB / 0.7273 GB, free: 76.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/1.013, allocations: 12 kB / 0.7273 GB, free: 76.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/1.013, allocations: 3.875 kB / 0.7273 GB, free: 76.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.572e-05/1.013, allocations: 3.844 kB / 0.7273 GB, free: 76.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/1.028, allocations: 6.199 MB / 0.7334 GB, free: 71.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/1.028, allocations: 0 / 0.7334 GB, free: 71.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007592/1.029, allocations: 127.8 kB / 0.7335 GB, free: 70.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005175/1.034, allocations: 1.741 MB / 0.7352 GB, free: 69.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/1.034, allocations: 24 kB / 0.7352 GB, free: 69.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/1.047, allocations: 6.683 MB / 0.7417 GB, free: 62.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.047, allocations: 4 kB / 0.7417 GB, free: 62.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/1.061, allocations: 5.241 MB / 0.7469 GB, free: 57.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005791/1.062, allocations: 223.1 kB / 0.7471 GB, free: 56.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/1.062, allocations: 20 kB / 0.7471 GB, free: 56.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/1.063, allocations: 143.9 kB / 0.7472 GB, free: 56.69 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006254/1.064, allocations: 204.6 kB / 0.7474 GB, free: 56.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-05/1.064, allocations: 24 kB / 0.7475 GB, free: 56.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008072/1.064, allocations: 0.6557 MB / 0.7481 GB, free: 55.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.064, allocations: 0 / 0.7481 GB, free: 55.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002024/1.066, allocations: 0.7469 MB / 0.7488 GB, free: 55.06 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003122/1.067, allocations: 154.6 kB / 0.749 GB, free: 54.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009854/1.077, allocations: 3.831 MB / 0.7527 GB, free: 51.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.077, allocations: 0 / 0.7527 GB, free: 51.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004072/1.081, allocations: 1.554 MB / 0.7542 GB, free: 49.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009486/1.082, allocations: 116.3 kB / 0.7543 GB, free: 49.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/1.085, allocations: 1.71 MB / 0.756 GB, free: 47.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/1.085, allocations: 1.201 MB / 0.7572 GB, free: 46.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000715/1.086, allocations: 166.5 kB / 0.7573 GB, free: 46.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/1.086, allocations: 51.42 kB / 0.7574 GB, free: 46.21 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/1.086, allocations: 0 / 0.7574 GB, free: 46.21 MB / 490.7 MB Notification: Performance of Templates: time 0.04033/1.126, allocations: 31.52 MB / 0.7882 GB, free: 15.02 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)