Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.001489/0.001489, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0008908/0.0008908, allocations: 89.98 kB / 280.5 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4984/0.4984, allocations: 78.07 MB / 409.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.58e-05, allocations: 0 / 484.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 69.36 MB / 0.5413 GB, free: 6.812 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3531/0.4877, allocations: 96.39 MB / 0.6354 GB, free: 3.172 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.488, allocations: 85.66 kB / 0.6355 GB, free: 3.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06471/0.5527, allocations: 24.24 MB / 0.6592 GB, free: 10.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5528, allocations: 4 kB / 0.6592 GB, free: 10.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.923e-05/0.5529, allocations: 16.94 kB / 0.6592 GB, free: 10.86 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.005189/0.5581, allocations: 1.676 MB / 0.6608 GB, free: 9.141 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.5581, allocations: 8.031 kB / 0.6608 GB, free: 9.133 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003572/0.5617, allocations: 0.5478 MB / 0.6614 GB, free: 8.586 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.5636, allocations: 0.6914 MB / 0.662 GB, free: 7.855 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/0.5639, allocations: 236.2 kB / 0.6623 GB, free: 7.586 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.5642, allocations: 43.91 kB / 0.6623 GB, free: 7.543 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001633/0.5658, allocations: 0.8083 MB / 0.6631 GB, free: 6.734 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.5674, allocations: 0.8056 MB / 0.6639 GB, free: 5.918 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.5674, allocations: 0 / 0.6639 GB, free: 5.918 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.228e-05/0.5675, allocations: 0.6562 kB / 0.6639 GB, free: 5.918 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.5675, allocations: 20 kB / 0.6639 GB, free: 5.898 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005541/0.573, allocations: 2.953 MB / 0.6668 GB, free: 2.828 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/0.5753, allocations: 1.398 MB / 0.6682 GB, free: 1.309 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008457/0.5762, allocations: 0.5545 MB / 0.6687 GB, free: 0.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.5763, allocations: 25.78 kB / 0.6687 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.5764, allocations: 43.28 kB / 0.6688 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of pre-optimization done (n=92): time 2.846e-06/0.5764, allocations: 3.938 kB / 0.6688 GB, free: 0.668 MB / 474.7 MB Notification: Performance of matching and sorting (n=92): time 0.01332/0.5897, allocations: 4.145 MB / 0.6728 GB, free: 12.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.5898, allocations: 60.19 kB / 0.6729 GB, free: 12.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.5909, allocations: 0.651 MB / 0.6735 GB, free: 11.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001946/0.5911, allocations: 25.7 kB / 0.6735 GB, free: 11.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.5915, allocations: 460.4 kB / 0.674 GB, free: 11.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004691/0.592, allocations: 319.2 kB / 0.6743 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/0.5921, allocations: 0 / 0.6743 GB, free: 10.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5922, allocations: 337.9 kB / 0.6746 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007499/0.593, allocations: 431.3 kB / 0.675 GB, free: 10.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008707/0.5939, allocations: 0.519 MB / 0.6755 GB, free: 9.652 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008009/0.5947, allocations: 470.3 kB / 0.676 GB, free: 9.195 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.5947, allocations: 0 / 0.676 GB, free: 9.195 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01353/0.6082, allocations: 4.281 MB / 0.6801 GB, free: 4.902 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.6083, allocations: 8 kB / 0.6802 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.6083, allocations: 4.656 kB / 0.6802 GB, free: 4.891 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0059/0.6142, allocations: 1.749 MB / 0.6819 GB, free: 3.137 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.6149, allocations: 115.8 kB / 0.682 GB, free: 3.023 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/0.6311, allocations: 7.483 MB / 0.6893 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.6325, allocations: 159.2 kB / 0.6894 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.6327, allocations: 35.98 kB / 0.6895 GB, free: 11.22 MB / 0.4948 GB 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.0003201/0.6331, allocations: 114 kB / 0.6896 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/0.6334, allocations: 116.2 kB / 0.6897 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.6461, allocations: 4.244 MB / 0.6938 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.6462, allocations: 8 kB / 0.6938 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6462, allocations: 3.953 kB / 0.6938 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/0.6462, allocations: 7.984 kB / 0.6939 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/0.6616, allocations: 5.732 MB / 0.6995 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.6616, allocations: 0 / 0.6995 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/0.6622, allocations: 87.91 kB / 0.6995 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005348/0.6676, allocations: 1.722 MB / 0.7012 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.6678, allocations: 7.984 kB / 0.7012 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/0.6815, allocations: 6.548 MB / 0.7076 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.6815, allocations: 0 / 0.7076 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/0.6955, allocations: 4.977 MB / 0.7125 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.696, allocations: 199.5 kB / 0.7127 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/0.6962, allocations: 4 kB / 0.7127 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.6974, allocations: 115.9 kB / 0.7128 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006068/0.698, allocations: 204.4 kB / 0.713 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/0.6981, allocations: 20.75 kB / 0.713 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007014/0.6988, allocations: 0.5001 MB / 0.7135 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6988, allocations: 0 / 0.7135 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00131/0.7001, allocations: 391.5 kB / 0.7139 GB, free: 1.93 MB / 0.5105 GB 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.0002946/0.7004, allocations: 135.5 kB / 0.714 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005223/0.7057, allocations: 1.957 MB / 0.7159 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.7057, allocations: 0.5 kB / 0.7159 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004332/0.71, allocations: 1.456 MB / 0.7173 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008052/0.7109, allocations: 60.83 kB / 0.7174 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.714, allocations: 1.474 MB / 0.7188 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007996/0.7148, allocations: 1.076 MB / 0.7199 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003744/0.7152, allocations: 69.56 kB / 0.7199 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.7154, allocations: 52.75 kB / 0.72 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.192e-06/0.7154, allocations: 0 / 0.72 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of Templates: time 0.0301/0.7455, allocations: 18.76 MB / 0.7383 GB, free: 8.98 MB / 0.5417 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)