Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.001646/0.001646, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.43/1.43, allocations: 221.5 MB / 229.6 MB, free: 7.551 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.0008814/0.0008812, allocations: 99.95 kB / 280.5 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5426/0.5426, allocations: 78.94 MB / 410.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.679e-05/1.688e-05, allocations: 7.984 kB / 485.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1439, allocations: 69.51 MB / 0.5424 GB, free: 5.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4191/0.563, allocations: 99.17 MB / 0.6393 GB, free: 14.99 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.5633, allocations: 85.02 kB / 0.6394 GB, free: 14.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07618/0.6395, allocations: 28.68 MB / 0.6674 GB, free: 2.285 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6396, allocations: 0 / 0.6674 GB, free: 2.285 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.799e-05/0.6397, allocations: 28.88 kB / 0.6674 GB, free: 2.258 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.005284/0.645, allocations: 1.855 MB / 0.6692 GB, free: 368 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.645, allocations: 8.031 kB / 0.6692 GB, free: 360 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003506/0.6486, allocations: 0.5757 MB / 0.6698 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.6504, allocations: 0.8424 MB / 0.6706 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/0.6507, allocations: 206.2 kB / 0.6708 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.6509, allocations: 55.95 kB / 0.6709 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001773/0.6527, allocations: 0.9178 MB / 0.6718 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.6545, allocations: 1.022 MB / 0.6727 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.6545, allocations: 4 kB / 0.6728 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.624e-05/0.6546, allocations: 3.984 kB / 0.6728 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.6546, allocations: 27.94 kB / 0.6728 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00667/0.6613, allocations: 4.097 MB / 0.6768 GB, free: 8.328 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.6638, allocations: 1.504 MB / 0.6783 GB, free: 6.711 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000911/0.6647, allocations: 0.6166 MB / 0.6789 GB, free: 6.098 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.6649, allocations: 21.3 kB / 0.6789 GB, free: 6.074 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.6649, allocations: 43.88 kB / 0.6789 GB, free: 6.023 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 4.388e-06/0.6649, allocations: 0.5625 kB / 0.6789 GB, free: 6.023 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01315/0.6781, allocations: 4.251 MB / 0.6831 GB, free: 1.754 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.6782, allocations: 112.1 kB / 0.6832 GB, free: 1.621 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.6796, allocations: 0.7696 MB / 0.6839 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002112/0.6798, allocations: 29.7 kB / 0.684 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.6803, allocations: 0.5673 MB / 0.6845 GB, free: 236 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/0.6807, allocations: 363.4 kB / 0.6849 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.6808, allocations: 0 / 0.6849 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.6809, allocations: 349.9 kB / 0.6852 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007699/0.6817, allocations: 462.6 kB / 0.6856 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008486/0.6826, allocations: 0.625 MB / 0.6862 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008276/0.6834, allocations: 0.5151 MB / 0.6867 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.6834, allocations: 4 kB / 0.6867 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01322/0.6966, allocations: 4.43 MB / 0.6911 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006887/0.6974, allocations: 1.501 MB / 0.6925 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.6974, allocations: 7.938 kB / 0.6925 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005757/0.7032, allocations: 1.756 MB / 0.6943 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008714/0.7041, allocations: 167.7 kB / 0.6944 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.7195, allocations: 7.475 MB / 0.7017 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.7212, allocations: 191 kB / 0.7019 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.7213, allocations: 36.56 kB / 0.7019 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.7214, allocations: 4 kB / 0.7019 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01301/0.7344, allocations: 4.25 MB / 0.7061 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.7344, allocations: 4 kB / 0.7061 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005701/0.7402, allocations: 1.75 MB / 0.7078 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008086/0.741, allocations: 151.8 kB / 0.708 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/0.7565, allocations: 7.493 MB / 0.7153 GB, free: 284 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.7582, allocations: 159.1 kB / 0.7154 GB, free: 124 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-05/0.7584, allocations: 45.47 kB / 0.7155 GB, free: 80 kB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.y_start ) "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 () * 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.0005061/0.7589, allocations: 135.3 kB / 0.7156 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/0.7592, allocations: 134.3 kB / 0.7157 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/0.7725, allocations: 4.344 MB / 0.72 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.7725, allocations: 8 kB / 0.72 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7726, allocations: 0 / 0.72 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.208e-05/0.7726, allocations: 7.969 kB / 0.72 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.7883, allocations: 6.008 MB / 0.7258 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.7884, allocations: 0 / 0.7258 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007519/0.7892, allocations: 123.8 kB / 0.726 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005389/0.7946, allocations: 1.727 MB / 0.7276 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/0.7948, allocations: 7.984 kB / 0.7277 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/0.8089, allocations: 6.553 MB / 0.7341 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.809, allocations: 0 / 0.7341 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/0.8239, allocations: 5.159 MB / 0.7391 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006242/0.8246, allocations: 219.2 kB / 0.7393 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.8248, allocations: 0 / 0.7393 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.826, allocations: 123.9 kB / 0.7394 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007483/0.8267, allocations: 212.9 kB / 0.7396 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.877e-05/0.8268, allocations: 24 kB / 0.7396 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009438/0.8278, allocations: 0.5796 MB / 0.7402 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8278, allocations: 0 / 0.7402 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002264/0.8301, allocations: 0.6784 MB / 0.7409 GB, free: 5.742 MB / 0.5417 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 () * 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.0003513/0.8304, allocations: 131 kB / 0.741 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0104/0.8409, allocations: 3.69 MB / 0.7446 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.8409, allocations: 4 kB / 0.7446 GB, free: 1.887 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00494/0.8458, allocations: 1.51 MB / 0.7461 GB, free: 384 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.847, allocations: 89.05 kB / 0.7462 GB, free: 300 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.8503, allocations: 1.663 MB / 0.7478 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008423/0.8512, allocations: 1.201 MB / 0.749 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007312/0.8519, allocations: 166.5 kB / 0.7491 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.8521, allocations: 55.44 kB / 0.7492 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of SimCode: time 7.52e-07/0.8521, allocations: 0 / 0.7492 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of Templates: time 0.322/1.174, allocations: 29.22 MB / 0.7777 GB, free: 142.3 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)