Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, 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.283/1.283, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0009484/0.0009486, allocations: 79.03 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4536/0.4536, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.593e-05, allocations: 4 kB / 491.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3371, allocations: 69.34 MB / 0.548 GB, free: 20.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1193/0.4565, allocations: 97.05 MB / 0.6428 GB, free: 3.496 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.4567, allocations: 83.95 kB / 0.6429 GB, free: 3.414 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06429/0.521, allocations: 24.57 MB / 0.6669 GB, free: 10.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5211, allocations: 0 / 0.6669 GB, free: 10.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.745e-05/0.5211, allocations: 23.94 kB / 0.6669 GB, free: 10.64 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.00457/0.5257, allocations: 1.664 MB / 0.6685 GB, free: 8.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.5258, allocations: 11.97 kB / 0.6685 GB, free: 8.918 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003377/0.5292, allocations: 0.5448 MB / 0.669 GB, free: 8.371 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.5305, allocations: 0.6914 MB / 0.6697 GB, free: 7.633 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003179/0.5308, allocations: 260.1 kB / 0.67 GB, free: 7.344 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.531, allocations: 83.84 kB / 0.67 GB, free: 7.262 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.5326, allocations: 0.8994 MB / 0.6709 GB, free: 6.348 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.5326, allocations: 7.922 kB / 0.6709 GB, free: 6.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.903e-05/0.5327, allocations: 32 kB / 0.671 GB, free: 6.309 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.5327, allocations: 16 kB / 0.671 GB, free: 6.293 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.5342, allocations: 0.8358 MB / 0.6718 GB, free: 5.457 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005106/0.5393, allocations: 3.068 MB / 0.6748 GB, free: 2.254 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.5417, allocations: 1.435 MB / 0.6762 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009116/0.5426, allocations: 0.5896 MB / 0.6768 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.5428, allocations: 16.77 kB / 0.6768 GB, free: 84 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.5428, allocations: 43.3 kB / 0.6768 GB, free: 32 kB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.457e-06/0.5428, allocations: 4 kB / 0.6768 GB, free: 28 kB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.3471/0.89, allocations: 4.203 MB / 0.6809 GB, free: 106.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.8901, allocations: 68.78 kB / 0.681 GB, free: 106.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.8914, allocations: 0.6938 MB / 0.6817 GB, free: 106.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.8916, allocations: 40.05 kB / 0.6817 GB, free: 106.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.8919, allocations: 461.6 kB / 0.6822 GB, free: 106 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.8922, allocations: 331.3 kB / 0.6825 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.8923, allocations: 14.88 kB / 0.6825 GB, free: 105.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.522e-05/0.8923, allocations: 345 kB / 0.6828 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008129/0.8932, allocations: 442.5 kB / 0.6832 GB, free: 105.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009507/0.8941, allocations: 0.543 MB / 0.6838 GB, free: 105.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009022/0.895, allocations: 491.7 kB / 0.6842 GB, free: 105.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.895, allocations: 0 / 0.6842 GB, free: 105.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01262/0.9077, allocations: 4.357 MB / 0.6885 GB, free: 105.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.9077, allocations: 7.266 kB / 0.6885 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.9078, allocations: 3.812 kB / 0.6885 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005492/0.9133, allocations: 1.801 MB / 0.6903 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.9139, allocations: 122.1 kB / 0.6904 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/0.9286, allocations: 7.714 MB / 0.6979 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.9301, allocations: 179.1 kB / 0.6981 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/0.9302, allocations: 30.77 kB / 0.6981 GB, free: 101.6 MB / 490.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 () * 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.0002123/0.9304, allocations: 146.8 kB / 0.6983 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.9306, allocations: 112.7 kB / 0.6984 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/0.9429, allocations: 4.339 MB / 0.7026 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.943, allocations: 6.875 kB / 0.7026 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.943, allocations: 0 / 0.7026 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/0.943, allocations: 7.328 kB / 0.7026 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.957, allocations: 5.897 MB / 0.7084 GB, free: 95.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.9571, allocations: 0 / 0.7084 GB, free: 95.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/0.9577, allocations: 99.12 kB / 0.7085 GB, free: 95.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005113/0.9629, allocations: 1.738 MB / 0.7102 GB, free: 94.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.963, allocations: 19.94 kB / 0.7102 GB, free: 94.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/0.976, allocations: 6.683 MB / 0.7167 GB, free: 88.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9761, allocations: 4 kB / 0.7167 GB, free: 88.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/0.9893, allocations: 5.059 MB / 0.7216 GB, free: 84.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/0.9897, allocations: 197.8 kB / 0.7218 GB, free: 83.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/0.99, allocations: 16 kB / 0.7219 GB, free: 83.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.9911, allocations: 134.8 kB / 0.722 GB, free: 83.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005742/0.9917, allocations: 196.1 kB / 0.7222 GB, free: 83.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.247e-05/0.9918, allocations: 28 kB / 0.7222 GB, free: 83.65 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006248/0.9924, allocations: 0.5499 MB / 0.7227 GB, free: 83.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.9924, allocations: 1.75 kB / 0.7227 GB, free: 83.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001044/0.9935, allocations: 428.5 kB / 0.7231 GB, free: 82.71 MB / 490.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 () * 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.0002437/0.9937, allocations: 151.8 kB / 0.7233 GB, free: 82.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004881/0.9986, allocations: 2.034 MB / 0.7253 GB, free: 80.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.9986, allocations: 0 / 0.7253 GB, free: 80.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003884/1.003, allocations: 1.504 MB / 0.7267 GB, free: 79.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006394/1.003, allocations: 67.44 kB / 0.7268 GB, free: 79.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/1.006, allocations: 1.515 MB / 0.7283 GB, free: 77.53 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/1.006, allocations: 1.076 MB / 0.7293 GB, free: 76.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002706/1.006, allocations: 65.67 kB / 0.7294 GB, free: 76.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/1.006, allocations: 51.44 kB / 0.7294 GB, free: 76.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/1.006, allocations: 0 / 0.7294 GB, free: 76.31 MB / 490.7 MB Notification: Performance of Templates: time 0.02811/1.034, allocations: 20.17 MB / 0.7491 GB, free: 56.36 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)