Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005275/0.005275, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.23/1.23, allocations: 223.2 MB / 239 MB, free: 1.797 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.000881/0.0008811, allocations: 98.3 kB / 290.2 MB, free: 13.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4155/0.4155, allocations: 78.58 MB / 419.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003203, allocations: 12 kB / 499.8 MB, free: 2.992 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3003, allocations: 69.35 MB / 0.5558 GB, free: 38.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.4273, allocations: 99.43 MB / 0.6529 GB, free: 7.113 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4275, allocations: 93.31 kB / 0.653 GB, free: 7.023 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07398/0.5015, allocations: 29.51 MB / 0.6818 GB, free: 9.363 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5016, allocations: 4 kB / 0.6818 GB, free: 9.359 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.776e-05/0.5016, allocations: 28 kB / 0.6818 GB, free: 9.332 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005014/0.5067, allocations: 2.135 MB / 0.6839 GB, free: 7.141 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.5067, allocations: 8.031 kB / 0.6839 GB, free: 7.133 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/0.5098, allocations: 0.5912 MB / 0.6845 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.5113, allocations: 0.8701 MB / 0.6853 GB, free: 5.617 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.5115, allocations: 250.4 kB / 0.6856 GB, free: 5.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.5117, allocations: 92 kB / 0.6857 GB, free: 5.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.5142, allocations: 1.432 MB / 0.6871 GB, free: 3.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.5142, allocations: 3.938 kB / 0.6871 GB, free: 3.766 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.5144, allocations: 44 kB / 0.6871 GB, free: 3.723 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.5144, allocations: 24 kB / 0.6871 GB, free: 3.699 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.5169, allocations: 1.3 MB / 0.6884 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005955/0.5228, allocations: 4.476 MB / 0.6928 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/0.5261, allocations: 1.869 MB / 0.6946 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.259e-05/0.5262, allocations: 24.97 kB / 0.6946 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.5262, allocations: 47.56 kB / 0.6947 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=110): time 2.094e-06/0.5262, allocations: 0 / 0.6947 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110): time 0.0293/0.5555, allocations: 8.931 MB / 0.7034 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.5556, allocations: 115.8 kB / 0.7035 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.5567, allocations: 0.8935 MB / 0.7044 GB, free: 1.676 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.324e-05/0.5568, allocations: 41.7 kB / 0.7044 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004096/0.5572, allocations: 0.591 MB / 0.705 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.5575, allocations: 390.3 kB / 0.7054 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.5576, allocations: 20 kB / 0.7054 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5577, allocations: 353.8 kB / 0.7057 GB, free: 280 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.5592, allocations: 0.7288 MB / 0.7064 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.5607, allocations: 0.9177 MB / 0.7073 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.5623, allocations: 0.7888 MB / 0.7081 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5623, allocations: 0 / 0.7081 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0146/0.5769, allocations: 5.273 MB / 0.7132 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005629/0.5775, allocations: 1.682 MB / 0.7149 GB, free: 6.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.5775, allocations: 4 kB / 0.7149 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006573/0.5841, allocations: 2.248 MB / 0.7171 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/0.5847, allocations: 167.8 kB / 0.7172 GB, free: 4.273 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02205/0.6068, allocations: 10.77 MB / 0.7278 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.608, allocations: 207 kB / 0.728 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.819e-05/0.6081, allocations: 40 kB / 0.728 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.6081, allocations: 7.984 kB / 0.728 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.014/0.6221, allocations: 5.062 MB / 0.7329 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6221, allocations: 4 kB / 0.7329 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006432/0.6286, allocations: 2.257 MB / 0.7352 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.6292, allocations: 147.8 kB / 0.7353 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02221/0.6514, allocations: 10.74 MB / 0.7458 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.6525, allocations: 187 kB / 0.746 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.514e-05/0.6526, allocations: 43.98 kB / 0.746 GB, free: 6.527 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0005694/0.6532, allocations: 370.4 kB / 0.7464 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.6534, allocations: 138.3 kB / 0.7465 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/0.6676, allocations: 5.162 MB / 0.7515 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.6676, allocations: 12 kB / 0.7515 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.6676, allocations: 7.938 kB / 0.7515 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6676, allocations: 7.969 kB / 0.7515 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.6833, allocations: 6.948 MB / 0.7583 GB, free: 9.738 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6834, allocations: 0 / 0.7583 GB, free: 9.738 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/0.684, allocations: 131.8 kB / 0.7585 GB, free: 9.609 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006148/0.6901, allocations: 2.16 MB / 0.7606 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-05/0.6902, allocations: 24 kB / 0.7606 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2206/0.9108, allocations: 9.293 MB / 0.7697 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9108, allocations: 0 / 0.7697 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01563/0.9265, allocations: 6.224 MB / 0.7757 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.9269, allocations: 224.9 kB / 0.776 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.927, allocations: 22.88 kB / 0.776 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009981/0.928, allocations: 145.6 kB / 0.7761 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000528/0.9286, allocations: 204.2 kB / 0.7763 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-05/0.9287, allocations: 29.89 kB / 0.7763 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008529/0.9295, allocations: 0.6922 MB / 0.777 GB, free: 142 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.001e-06/0.9295, allocations: 3.938 kB / 0.777 GB, free: 142 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001711/0.9312, allocations: 0.7638 MB / 0.7778 GB, free: 142 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * 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 (73): * Single equations (assignments): 72 * 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.0002583/0.9315, allocations: 148.6 kB / 0.7779 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0101/0.9416, allocations: 4.589 MB / 0.7824 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9416, allocations: 0 / 0.7824 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004119/0.9458, allocations: 1.827 MB / 0.7842 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006675/0.9464, allocations: 125 kB / 0.7843 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.9496, allocations: 2.826 MB / 0.7871 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.9502, allocations: 1.213 MB / 0.7882 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004583/0.9506, allocations: 107.7 kB / 0.7883 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.9508, allocations: 59.66 kB / 0.7884 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/0.9509, allocations: 0 / 0.7884 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.03805/0.9889, allocations: 29.83 MB / 0.8175 GB, free: 137.6 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)