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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, 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.184/1.184, 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.0008144/0.0008144, allocations: 90.61 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4372/0.4372, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.237e-05, allocations: 7.984 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2772, allocations: 69.51 MB / 0.5492 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.3911, allocations: 99.85 MB / 0.6467 GB, free: 15.73 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.3914, allocations: 83.95 kB / 0.6468 GB, free: 15.65 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07164/0.463, allocations: 29.02 MB / 0.6752 GB, free: 2.438 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4631, allocations: 0 / 0.6752 GB, free: 2.438 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.253e-05/0.4631, allocations: 24 kB / 0.6752 GB, free: 2.414 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.004655/0.4678, allocations: 1.864 MB / 0.677 GB, free: 0.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4678, allocations: 11.97 kB / 0.677 GB, free: 500 kB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/0.468, allocations: 151.9 kB / 0.6772 GB, free: 340 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2577/0.7257, allocations: 0.5714 MB / 0.6777 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.7278, allocations: 0.8365 MB / 0.6785 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.728, allocations: 239.2 kB / 0.6788 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.7282, allocations: 94.91 kB / 0.6788 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.7302, allocations: 1.152 MB / 0.68 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.7302, allocations: 0.9688 kB / 0.68 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.7303, allocations: 37.72 kB / 0.68 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.7304, allocations: 24.23 kB / 0.68 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.7322, allocations: 0.979 MB / 0.681 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006103/0.7383, allocations: 4.259 MB / 0.6851 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/0.7407, allocations: 1.542 MB / 0.6866 GB, free: 99.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.7418, allocations: 0.6468 MB / 0.6873 GB, free: 99.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.7419, allocations: 13.61 kB / 0.6873 GB, free: 99.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.742, allocations: 49.2 kB / 0.6873 GB, free: 99.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 3.016e-06/0.742, allocations: 2.781 kB / 0.6873 GB, free: 99.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01164/0.7536, allocations: 4.308 MB / 0.6916 GB, free: 99.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.7537, allocations: 115.9 kB / 0.6917 GB, free: 99.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.7548, allocations: 0.8458 MB / 0.6925 GB, free: 99.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000159/0.7549, allocations: 45.69 kB / 0.6925 GB, free: 99.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.7552, allocations: 0.573 MB / 0.6931 GB, free: 98.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.7556, allocations: 389.8 kB / 0.6935 GB, free: 98.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.7556, allocations: 23.94 kB / 0.6935 GB, free: 98.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.7557, allocations: 344.4 kB / 0.6938 GB, free: 98.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007065/0.7564, allocations: 482.9 kB / 0.6943 GB, free: 97.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007692/0.7572, allocations: 0.6394 MB / 0.6949 GB, free: 97.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000727/0.758, allocations: 0.5364 MB / 0.6954 GB, free: 97.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.758, allocations: 7.953 kB / 0.6954 GB, free: 97.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01168/0.7696, allocations: 4.515 MB / 0.6998 GB, free: 96.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002516/0.7699, allocations: 1.505 MB / 0.7013 GB, free: 94.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.7699, allocations: 3.438 kB / 0.7013 GB, free: 94.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005149/0.7751, allocations: 1.802 MB / 0.7031 GB, free: 94.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.7758, allocations: 166.2 kB / 0.7032 GB, free: 94.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/0.7895, allocations: 7.727 MB / 0.7108 GB, free: 89.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.791, allocations: 210.9 kB / 0.711 GB, free: 89.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/0.7911, allocations: 36 kB / 0.711 GB, free: 89.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/0.7911, allocations: 7.938 kB / 0.711 GB, free: 89.67 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01134/0.8025, allocations: 4.372 MB / 0.7153 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.8026, allocations: 12.06 kB / 0.7153 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005102/0.8077, allocations: 1.805 MB / 0.7171 GB, free: 84.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006575/0.8083, allocations: 148.4 kB / 0.7172 GB, free: 84.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/0.8213, allocations: 7.678 MB / 0.7247 GB, free: 77.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.8227, allocations: 187.3 kB / 0.7249 GB, free: 77.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/0.8228, allocations: 43.52 kB / 0.7249 GB, free: 77.45 MB / 490.7 MB 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.0002697/0.8231, allocations: 169.8 kB / 0.7251 GB, free: 77.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.8233, allocations: 142.2 kB / 0.7252 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/0.8347, allocations: 4.437 MB / 0.7296 GB, free: 73.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.8347, allocations: 8 kB / 0.7296 GB, free: 73.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8348, allocations: 0 / 0.7296 GB, free: 73.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.8348, allocations: 15.3 kB / 0.7296 GB, free: 73.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/0.8477, allocations: 6.189 MB / 0.7356 GB, free: 68.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.8478, allocations: 0 / 0.7356 GB, free: 68.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/0.8484, allocations: 131.8 kB / 0.7357 GB, free: 68.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004734/0.8531, allocations: 1.738 MB / 0.7374 GB, free: 66.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.8533, allocations: 20 kB / 0.7375 GB, free: 66.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.8649, allocations: 6.693 MB / 0.744 GB, free: 59.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.8649, allocations: 4 kB / 0.744 GB, free: 59.72 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/0.8777, allocations: 5.242 MB / 0.7491 GB, free: 54.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004912/0.8783, allocations: 227.1 kB / 0.7493 GB, free: 54.22 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.8785, allocations: 23.66 kB / 0.7494 GB, free: 54.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.8796, allocations: 143.9 kB / 0.7495 GB, free: 54.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005348/0.8801, allocations: 200.6 kB / 0.7497 GB, free: 53.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.087e-05/0.8802, allocations: 28 kB / 0.7497 GB, free: 53.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007093/0.8809, allocations: 0.6518 MB / 0.7504 GB, free: 53.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8809, allocations: 0 / 0.7504 GB, free: 53.18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001823/0.8827, allocations: 0.7423 MB / 0.7511 GB, free: 52.44 MB / 490.7 MB 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.01296/0.8957, allocations: 5.853 MB / 0.7568 GB, free: 46.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009048/0.9048, allocations: 3.819 MB / 0.7605 GB, free: 42.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.9048, allocations: 0 / 0.7605 GB, free: 42.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003831/0.9087, allocations: 1.558 MB / 0.762 GB, free: 41.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008802/0.9096, allocations: 110.1 kB / 0.7621 GB, free: 41.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.9126, allocations: 1.917 MB / 0.764 GB, free: 39.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.9131, allocations: 1.197 MB / 0.7652 GB, free: 37.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006251/0.9137, allocations: 181.8 kB / 0.7654 GB, free: 37.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.9142, allocations: 491.3 kB / 0.7658 GB, free: 37.24 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/0.9142, allocations: 0 / 0.7658 GB, free: 37.24 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05517/0.9693, allocations: 42.13 MB / 0.807 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.9696, allocations: 180.8 kB / 0.8071 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.086/4.056, allocations: 0 / 0.8071 GB, free: 11.34 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)