Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004699/0.004699, allocations: 172 kB / 15.11 MB, free: 5.969 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.221/1.221, allocations: 223.2 MB / 239 MB, free: 1.805 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.0008453/0.0008453, allocations: 99.16 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4267/0.4267, allocations: 78.59 MB / 419.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 16 kB / 499.8 MB, free: 2.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3042, allocations: 69.35 MB / 0.5558 GB, free: 38.72 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.4165, allocations: 99.33 MB / 0.6528 GB, free: 7.207 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.4168, allocations: 94.16 kB / 0.6529 GB, free: 7.117 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07177/0.4886, allocations: 28.82 MB / 0.681 GB, free: 10.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.4886, allocations: 3.938 kB / 0.681 GB, free: 10.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.352e-05/0.4887, allocations: 31.94 kB / 0.6811 GB, free: 10.12 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.005441/0.4941, allocations: 2.092 MB / 0.6831 GB, free: 7.973 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.4942, allocations: 8.031 kB / 0.6831 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003267/0.4975, allocations: 0.5795 MB / 0.6837 GB, free: 7.383 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.4991, allocations: 0.8501 MB / 0.6845 GB, free: 6.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.4994, allocations: 246.4 kB / 0.6847 GB, free: 6.207 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.4995, allocations: 92 kB / 0.6848 GB, free: 6.117 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/0.5021, allocations: 1.407 MB / 0.6862 GB, free: 4.668 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.5022, allocations: 0 / 0.6862 GB, free: 4.668 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.5023, allocations: 40 kB / 0.6862 GB, free: 4.629 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.5023, allocations: 20 kB / 0.6863 GB, free: 4.609 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/0.5048, allocations: 1.288 MB / 0.6875 GB, free: 3.316 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005671/0.5105, allocations: 4.245 MB / 0.6917 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/0.5136, allocations: 1.847 MB / 0.6935 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.236e-05/0.5137, allocations: 16.94 kB / 0.6935 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.5138, allocations: 47.56 kB / 0.6935 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=107): time 2.054e-06/0.5138, allocations: 4 kB / 0.6935 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=107): time 0.02775/0.5415, allocations: 8.728 MB / 0.7021 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.5416, allocations: 119.8 kB / 0.7022 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.5428, allocations: 0.8526 MB / 0.703 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.52e-05/0.5429, allocations: 41.7 kB / 0.703 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.5433, allocations: 0.5907 MB / 0.7036 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003201/0.5436, allocations: 370.5 kB / 0.704 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.5437, allocations: 20 kB / 0.704 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5438, allocations: 345.9 kB / 0.7043 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.5453, allocations: 0.7209 MB / 0.705 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.547, allocations: 0.8964 MB / 0.7059 GB, free: 52 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.5485, allocations: 0.7839 MB / 0.7067 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5485, allocations: 0 / 0.7067 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0151/0.5637, allocations: 5.23 MB / 0.7118 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000493/0.5642, allocations: 1.497 MB / 0.7132 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.5642, allocations: 15.98 kB / 0.7132 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0068/0.571, allocations: 2.233 MB / 0.7154 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/0.5717, allocations: 159.7 kB / 0.7156 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02342/0.5951, allocations: 10.78 MB / 0.7261 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.5965, allocations: 211 kB / 0.7263 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.16e-05/0.5966, allocations: 39.98 kB / 0.7263 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.633e-06/0.5966, allocations: 4 kB / 0.7263 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01443/0.611, allocations: 5.027 MB / 0.7313 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.611, allocations: 7.953 kB / 0.7313 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006597/0.6176, allocations: 2.233 MB / 0.7334 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.6183, allocations: 147.8 kB / 0.7336 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02302/0.6413, allocations: 10.73 MB / 0.7441 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.6426, allocations: 187 kB / 0.7442 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.762e-05/0.6427, allocations: 39.98 kB / 0.7443 GB, free: 8.332 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.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: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0005907/0.6433, allocations: 355.3 kB / 0.7446 GB, free: 7.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.6435, allocations: 134.4 kB / 0.7447 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/0.6579, allocations: 5.137 MB / 0.7498 GB, free: 2.695 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.6579, allocations: 12 kB / 0.7498 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.658, allocations: 0 / 0.7498 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.658, allocations: 11.97 kB / 0.7498 GB, free: 2.672 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.6741, allocations: 6.904 MB / 0.7565 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6741, allocations: 0 / 0.7565 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.6747, allocations: 119.8 kB / 0.7566 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006254/0.681, allocations: 2.179 MB / 0.7588 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.615e-05/0.6811, allocations: 16 kB / 0.7588 GB, free: 9.312 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2265/0.9076, allocations: 9.3 MB / 0.7679 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9076, allocations: 0 / 0.7679 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/0.9233, allocations: 6.183 MB / 0.7739 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.9237, allocations: 220.4 kB / 0.7741 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.9239, allocations: 17.94 kB / 0.7741 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009832/0.9248, allocations: 146 kB / 0.7743 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005169/0.9254, allocations: 205.4 kB / 0.7745 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/0.9255, allocations: 35.09 kB / 0.7745 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007375/0.9262, allocations: 0.6628 MB / 0.7751 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.61e-07/0.9262, allocations: 1.594 kB / 0.7752 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00162/0.9278, allocations: 0.7495 MB / 0.7759 GB, free: 143.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.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 (70): * Single equations (assignments): 69 * 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.0002302/0.9281, allocations: 151.9 kB / 0.776 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01027/0.9383, allocations: 4.541 MB / 0.7805 GB, free: 143 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9384, allocations: 2.625 kB / 0.7805 GB, free: 143 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004094/0.9425, allocations: 1.816 MB / 0.7822 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.943, allocations: 110.2 kB / 0.7823 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.9461, allocations: 2.75 MB / 0.785 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.9465, allocations: 1.191 MB / 0.7862 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004121/0.947, allocations: 100.8 kB / 0.7863 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.9471, allocations: 58 kB / 0.7863 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/0.9472, allocations: 0 / 0.7863 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.03831/0.9855, allocations: 29.49 MB / 0.8151 GB, free: 139.3 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)