Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005795/0.005795, allocations: 169.5 kB / 15.11 MB, free: 5.984 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.429/1.429, allocations: 205.4 MB / 221.2 MB, free: 13.85 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.0008711/0.0008711, allocations: 90.88 kB / 269.6 MB, free: 13.37 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.06386/0.06386, allocations: 12.59 MB / 330.4 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4516/0.4516, allocations: 78.53 MB / 460 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.0005316, allocations: 18.36 kB / 0.5285 GB, free: 35.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1379, allocations: 69.34 MB / 0.5962 GB, free: 3.809 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.2703, allocations: 98.71 MB / 0.6926 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.2706, allocations: 87.95 kB / 0.6927 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3248/0.5955, allocations: 23.85 MB / 0.7159 GB, free: 93.29 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5955, allocations: 0 / 0.7159 GB, free: 93.29 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001004/0.5956, allocations: 25.81 kB / 0.716 GB, free: 93.28 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.006118/0.6018, allocations: 1.874 MB / 0.7178 GB, free: 92.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.6018, allocations: 11.52 kB / 0.7178 GB, free: 92.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003537/0.6054, allocations: 0.5477 MB / 0.7183 GB, free: 91.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.6074, allocations: 0.7101 MB / 0.719 GB, free: 91.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/0.6077, allocations: 264.6 kB / 0.7193 GB, free: 90.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/0.6081, allocations: 70.75 kB / 0.7194 GB, free: 90.96 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.6106, allocations: 1.144 MB / 0.7205 GB, free: 90.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.6107, allocations: 0 / 0.7205 GB, free: 90.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.6108, allocations: 27.44 kB / 0.7205 GB, free: 90.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.6108, allocations: 19.2 kB / 0.7205 GB, free: 90.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/0.6129, allocations: 1.12 MB / 0.7216 GB, free: 89.45 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005344/0.6183, allocations: 3.072 MB / 0.7246 GB, free: 86.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/0.621, allocations: 1.716 MB / 0.7263 GB, free: 84.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.6211, allocations: 20.98 kB / 0.7263 GB, free: 84.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.6211, allocations: 39.56 kB / 0.7264 GB, free: 84.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=92): time 3.186e-06/0.6211, allocations: 0 / 0.7264 GB, free: 84.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=92): time 0.02752/0.6487, allocations: 8.876 MB / 0.735 GB, free: 75.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.6488, allocations: 60.41 kB / 0.7351 GB, free: 75.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.6501, allocations: 0.71 MB / 0.7358 GB, free: 74.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002456/0.6504, allocations: 45.7 kB / 0.7358 GB, free: 74.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.6507, allocations: 460.3 kB / 0.7363 GB, free: 74.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004605/0.6511, allocations: 315.3 kB / 0.7366 GB, free: 73.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.6513, allocations: 20 kB / 0.7366 GB, free: 73.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.6514, allocations: 341.9 kB / 0.7369 GB, free: 73.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.6527, allocations: 0.6696 MB / 0.7376 GB, free: 72.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.654, allocations: 0.7718 MB / 0.7383 GB, free: 71.96 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.6553, allocations: 0.7136 MB / 0.739 GB, free: 71.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.6554, allocations: 4 kB / 0.739 GB, free: 71.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01325/0.6686, allocations: 5.035 MB / 0.7439 GB, free: 66.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.6687, allocations: 11.95 kB / 0.7439 GB, free: 66.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.6687, allocations: 0 / 0.7439 GB, free: 66.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006074/0.6748, allocations: 2.225 MB / 0.7461 GB, free: 63.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/0.6755, allocations: 123.8 kB / 0.7462 GB, free: 63.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/0.6963, allocations: 10.75 MB / 0.7567 GB, free: 52.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.6979, allocations: 183.2 kB / 0.7569 GB, free: 52.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.6981, allocations: 28 kB / 0.7569 GB, free: 52.74 MB / 474.7 MB 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 (71): * Single equations (assignments): 70 * 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.0006938/0.6988, allocations: 221.7 kB / 0.7571 GB, free: 52.51 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003699/0.6992, allocations: 114.5 kB / 0.7573 GB, free: 52.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/0.712, allocations: 5.006 MB / 0.7621 GB, free: 47.37 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.7121, allocations: 12 kB / 0.7622 GB, free: 47.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.7121, allocations: 0 / 0.7622 GB, free: 47.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/0.7121, allocations: 7.969 kB / 0.7622 GB, free: 47.35 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.7271, allocations: 6.585 MB / 0.7686 GB, free: 40.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.7272, allocations: 0 / 0.7686 GB, free: 40.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/0.7278, allocations: 95.89 kB / 0.7687 GB, free: 40.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005679/0.7335, allocations: 2.168 MB / 0.7708 GB, free: 38.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/0.7336, allocations: 16 kB / 0.7708 GB, free: 38.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/0.7517, allocations: 9.302 MB / 0.7799 GB, free: 28.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.7517, allocations: 0 / 0.7799 GB, free: 28.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0146/0.7663, allocations: 5.977 MB / 0.7857 GB, free: 22.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.7669, allocations: 203.5 kB / 0.7859 GB, free: 22.69 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003722/0.7673, allocations: 20 kB / 0.7859 GB, free: 22.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.7685, allocations: 127.9 kB / 0.7861 GB, free: 22.54 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007183/0.7692, allocations: 200.6 kB / 0.7863 GB, free: 22.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/0.7694, allocations: 23.98 kB / 0.7863 GB, free: 22.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008469/0.7702, allocations: 0.5627 MB / 0.7868 GB, free: 21.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7702, allocations: 0 / 0.7868 GB, free: 21.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001776/0.772, allocations: 419.6 kB / 0.7872 GB, free: 21.34 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (55): * Single equations (assignments): 54 * 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.0003774/0.7724, allocations: 144.2 kB / 0.7874 GB, free: 21.19 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006147/0.7786, allocations: 2.531 MB / 0.7898 GB, free: 18.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7786, allocations: 0 / 0.7898 GB, free: 18.64 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004382/0.783, allocations: 1.763 MB / 0.7916 GB, free: 16.87 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000903/0.7839, allocations: 68.16 kB / 0.7916 GB, free: 16.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.7876, allocations: 2.382 MB / 0.794 GB, free: 14.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.7882, allocations: 1.08 MB / 0.795 GB, free: 13.29 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00033/0.7885, allocations: 65.66 kB / 0.7951 GB, free: 13.22 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.7887, allocations: 51.44 kB / 0.7951 GB, free: 13.17 MB / 474.7 MB Notification: Performance of SimCode: time 8.62e-07/0.7887, allocations: 0 / 0.7951 GB, free: 13.17 MB / 474.7 MB Notification: Performance of Templates: time 0.03136/0.8201, allocations: 20.19 MB / 0.8148 GB, free: 8.988 MB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)