Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.009589/0.009589, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008683/0.0008684, allocations: 94.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07215/0.07215, allocations: 12.61 MB / 330.5 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4204/0.4204, allocations: 78.52 MB / 460 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004994, allocations: 25.78 kB / 0.5285 GB, free: 35.02 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1309, allocations: 69.33 MB / 0.5962 GB, free: 3.781 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.5402, allocations: 100.2 MB / 0.694 GB, free: 35.09 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.5405, allocations: 89.28 kB / 0.6941 GB, free: 35.09 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06371/0.6043, allocations: 25.22 MB / 0.7188 GB, free: 32.85 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.6043, allocations: 0 / 0.7188 GB, free: 32.85 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.18e-05/0.6044, allocations: 22.88 kB / 0.7188 GB, free: 32.85 MB / 474.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.004714/0.6091, allocations: 1.95 MB / 0.7207 GB, free: 31.99 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.6091, allocations: 11.83 kB / 0.7207 GB, free: 31.99 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/0.6122, allocations: 0.5648 MB / 0.7212 GB, free: 31.91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.6137, allocations: 0.7974 MB / 0.722 GB, free: 31.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.6139, allocations: 223.1 kB / 0.7222 GB, free: 31.39 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.614, allocations: 79.25 kB / 0.7223 GB, free: 31.38 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.6161, allocations: 1.192 MB / 0.7235 GB, free: 31.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.6162, allocations: 5.562 kB / 0.7235 GB, free: 31.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.304e-05/0.6163, allocations: 26.97 kB / 0.7235 GB, free: 31.29 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.6163, allocations: 18.66 kB / 0.7235 GB, free: 31.29 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.6186, allocations: 1.168 MB / 0.7247 GB, free: 31.26 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00476/0.6233, allocations: 3.154 MB / 0.7277 GB, free: 30.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/0.626, allocations: 1.744 MB / 0.7294 GB, free: 29.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.223e-05/0.6261, allocations: 16.17 kB / 0.7295 GB, free: 29.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.6261, allocations: 50.47 kB / 0.7295 GB, free: 29.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=93): time 3.246e-06/0.6261, allocations: 0 / 0.7295 GB, free: 29.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=93): time 0.02626/0.6524, allocations: 8.843 MB / 0.7381 GB, free: 29.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.6525, allocations: 89.64 kB / 0.7382 GB, free: 29.01 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.6537, allocations: 0.8124 MB / 0.739 GB, free: 28.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.6539, allocations: 43.36 kB / 0.7391 GB, free: 28.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.6541, allocations: 0.4914 MB / 0.7395 GB, free: 28.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.6544, allocations: 324.7 kB / 0.7399 GB, free: 28.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.6545, allocations: 18.34 kB / 0.7399 GB, free: 28.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.991e-05/0.6546, allocations: 338.9 kB / 0.7402 GB, free: 28.15 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.6558, allocations: 0.6776 MB / 0.7409 GB, free: 28.13 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.657, allocations: 0.7859 MB / 0.7416 GB, free: 28.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.6582, allocations: 0.7163 MB / 0.7423 GB, free: 28 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6583, allocations: 3.906 kB / 0.7423 GB, free: 28 MB / 474.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01298/0.6712, allocations: 5.058 MB / 0.7473 GB, free: 27.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.6715, allocations: 0.796 MB / 0.748 GB, free: 26.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.6715, allocations: 3.906 kB / 0.748 GB, free: 26.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006173/0.6777, allocations: 2.237 MB / 0.7502 GB, free: 25.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/0.6784, allocations: 117.6 kB / 0.7503 GB, free: 25.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02114/0.6995, allocations: 10.78 MB / 0.7609 GB, free: 22.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.7013, allocations: 201.3 kB / 0.7611 GB, free: 22.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/0.7015, allocations: 27.12 kB / 0.7611 GB, free: 22.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.7016, allocations: 3.875 kB / 0.7611 GB, free: 22.43 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01297/0.7145, allocations: 4.904 MB / 0.7659 GB, free: 21.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.7146, allocations: 3.938 kB / 0.7659 GB, free: 21.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006024/0.7206, allocations: 2.238 MB / 0.7681 GB, free: 20.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/0.7213, allocations: 108.2 kB / 0.7682 GB, free: 20.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02119/0.7425, allocations: 10.75 MB / 0.7787 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.7441, allocations: 187.7 kB / 0.7789 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.7443, allocations: 27.81 kB / 0.7789 GB, free: 15.3 MB / 474.7 MB 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.0007986/0.7451, allocations: 309.3 kB / 0.7792 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.7455, allocations: 118.6 kB / 0.7793 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.7587, allocations: 5.035 MB / 0.7842 GB, free: 10.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.7588, allocations: 11.98 kB / 0.7842 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7588, allocations: 0 / 0.7842 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/0.7588, allocations: 3.984 kB / 0.7842 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/0.7748, allocations: 6.665 MB / 0.7907 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.7748, allocations: 0 / 0.7907 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.7754, allocations: 95.89 kB / 0.7908 GB, free: 4.504 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005669/0.7811, allocations: 2.164 MB / 0.7929 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.7812, allocations: 16 kB / 0.793 GB, free: 2.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02022/0.8014, allocations: 9.304 MB / 0.802 GB, free: 8.871 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8015, allocations: 0 / 0.802 GB, free: 8.871 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/0.8179, allocations: 6.013 MB / 0.8079 GB, free: 2.836 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/0.8185, allocations: 211.5 kB / 0.8081 GB, free: 2.609 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/0.8189, allocations: 19.94 kB / 0.8081 GB, free: 2.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.8203, allocations: 147.9 kB / 0.8083 GB, free: 2.445 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000671/0.821, allocations: 196.6 kB / 0.8085 GB, free: 2.254 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.8211, allocations: 20 kB / 0.8085 GB, free: 2.234 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001266/0.8224, allocations: 0.6432 MB / 0.8091 GB, free: 1.582 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.8224, allocations: 0 / 0.8091 GB, free: 1.582 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002561/0.8249, allocations: 0.6826 MB / 0.8098 GB, free: 0.8984 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 () * 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.0003646/0.8253, allocations: 151 kB / 0.8099 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01192/0.8372, allocations: 4.344 MB / 0.8142 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.8373, allocations: 4.062 kB / 0.8142 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005328/0.8426, allocations: 1.755 MB / 0.8159 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.8444, allocations: 80.3 kB / 0.816 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006425/0.8509, allocations: 2.499 MB / 0.8184 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.8521, allocations: 1.128 MB / 0.8195 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005895/0.8527, allocations: 94.02 kB / 0.8196 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.853, allocations: 55.42 kB / 0.8196 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/0.853, allocations: 0 / 0.8196 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of Templates: time 0.04647/0.8994, allocations: 28.26 MB / 0.8472 GB, free: 10.45 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)