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.001476/0.001477, 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.339/1.339, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009057/0.0009056, allocations: 84.25 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4492/0.4492, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.008e-05, allocations: 4 kB / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.293, allocations: 69.35 MB / 0.548 GB, free: 20.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1104/0.4035, allocations: 97.06 MB / 0.6427 GB, free: 3.367 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.4037, allocations: 87.94 kB / 0.6428 GB, free: 3.281 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06415/0.4679, allocations: 24.57 MB / 0.6668 GB, free: 10.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.468, allocations: 4 kB / 0.6668 GB, free: 10.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.331e-05/0.468, allocations: 23.94 kB / 0.6668 GB, free: 10.5 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.004412/0.4724, allocations: 1.664 MB / 0.6685 GB, free: 8.789 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4725, allocations: 11.97 kB / 0.6685 GB, free: 8.777 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/0.4756, allocations: 0.5448 MB / 0.669 GB, free: 8.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.4769, allocations: 0.6914 MB / 0.6697 GB, free: 7.492 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/0.4772, allocations: 264.1 kB / 0.6699 GB, free: 7.199 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.4773, allocations: 75.86 kB / 0.67 GB, free: 7.125 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.4789, allocations: 0.9072 MB / 0.6709 GB, free: 6.203 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.4789, allocations: 3.938 kB / 0.6709 GB, free: 6.199 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-05/0.479, allocations: 28 kB / 0.6709 GB, free: 6.172 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.4791, allocations: 16 kB / 0.6709 GB, free: 6.156 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.4806, allocations: 0.8397 MB / 0.6718 GB, free: 5.316 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005362/0.4859, allocations: 3.064 MB / 0.6748 GB, free: 2.117 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/0.4882, allocations: 1.44 MB / 0.6762 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.254/0.7423, allocations: 0.5869 MB / 0.6767 GB, free: 106.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/0.7425, allocations: 11.78 kB / 0.6767 GB, free: 106.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.7425, allocations: 44.56 kB / 0.6768 GB, free: 106.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.897e-06/0.7425, allocations: 0 / 0.6768 GB, free: 106.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01402/0.7566, allocations: 4.213 MB / 0.6809 GB, free: 106.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.7566, allocations: 64.95 kB / 0.681 GB, free: 106.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.7577, allocations: 0.6972 MB / 0.6816 GB, free: 106.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.7579, allocations: 41.73 kB / 0.6817 GB, free: 106.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.7582, allocations: 464 kB / 0.6821 GB, free: 106.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/0.7584, allocations: 328.6 kB / 0.6824 GB, free: 105.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.7585, allocations: 18.19 kB / 0.6825 GB, free: 105.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.7586, allocations: 343.6 kB / 0.6828 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007831/0.7594, allocations: 443.5 kB / 0.6832 GB, free: 105.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009445/0.7603, allocations: 0.5401 MB / 0.6837 GB, free: 105.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007896/0.7611, allocations: 487 kB / 0.6842 GB, free: 105.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7611, allocations: 3.375 kB / 0.6842 GB, free: 105.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01192/0.7731, allocations: 4.358 MB / 0.6885 GB, free: 105.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.7731, allocations: 3.844 kB / 0.6885 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.7731, allocations: 7.031 kB / 0.6885 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005181/0.7783, allocations: 1.813 MB / 0.6902 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005543/0.7789, allocations: 120.9 kB / 0.6904 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/0.7929, allocations: 7.689 MB / 0.6979 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.7943, allocations: 186.3 kB / 0.698 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/0.7943, allocations: 27.44 kB / 0.6981 GB, free: 101.7 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.000194/0.7945, allocations: 153 kB / 0.6982 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.7947, allocations: 108.6 kB / 0.6983 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.8064, allocations: 4.338 MB / 0.7026 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.8065, allocations: 11.05 kB / 0.7026 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.8065, allocations: 0 / 0.7026 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.8065, allocations: 3.656 kB / 0.7026 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.8195, allocations: 5.902 MB / 0.7083 GB, free: 95.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.8195, allocations: 0 / 0.7083 GB, free: 95.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005149/0.8201, allocations: 94.19 kB / 0.7084 GB, free: 95.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004847/0.8249, allocations: 1.739 MB / 0.7101 GB, free: 94.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.825, allocations: 19.95 kB / 0.7101 GB, free: 94.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/0.8368, allocations: 6.688 MB / 0.7167 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8368, allocations: 0 / 0.7167 GB, free: 88.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/0.8493, allocations: 5.062 MB / 0.7216 GB, free: 83.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/0.8497, allocations: 200.6 kB / 0.7218 GB, free: 83.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.8498, allocations: 20 kB / 0.7218 GB, free: 83.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009646/0.8508, allocations: 131.8 kB / 0.722 GB, free: 83.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005134/0.8513, allocations: 203.4 kB / 0.7221 GB, free: 83.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.754e-05/0.8514, allocations: 20 kB / 0.7222 GB, free: 83.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005997/0.852, allocations: 0.5481 MB / 0.7227 GB, free: 82.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.852, allocations: 5.25 kB / 0.7227 GB, free: 82.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001025/0.853, allocations: 431.9 kB / 0.7231 GB, free: 82.46 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.0002291/0.8533, allocations: 139.4 kB / 0.7232 GB, free: 82.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00449/0.8578, allocations: 2.043 MB / 0.7252 GB, free: 80.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8578, allocations: 0 / 0.7252 GB, free: 80.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003591/0.8614, allocations: 1.504 MB / 0.7267 GB, free: 78.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.8618, allocations: 77.25 kB / 0.7268 GB, free: 78.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.864, allocations: 1.507 MB / 0.7283 GB, free: 77.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.8643, allocations: 1.08 MB / 0.7293 GB, free: 76.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002475/0.8646, allocations: 65.67 kB / 0.7294 GB, free: 76.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.8647, allocations: 43.44 kB / 0.7294 GB, free: 76.03 MB / 490.7 MB Notification: Performance of SimCode: time 8.21e-07/0.8647, allocations: 0 / 0.7294 GB, free: 76.03 MB / 490.7 MB Notification: Performance of Templates: time 0.0235/0.8882, allocations: 20.17 MB / 0.7491 GB, free: 56.09 MB / 490.7 MB 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)