Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007589/0.000759, allocations: 99.08 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06545/0.06545, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2718/0.2718, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.752e-05/3.769e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 69.25 MB / 0.5889 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4807, allocations: 100 MB / 0.6866 GB, free: 272 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.481, allocations: 87.94 kB / 0.6867 GB, free: 220 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06264/0.5436, allocations: 25.14 MB / 0.7113 GB, free: 10.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5437, allocations: 0 / 0.7113 GB, free: 10.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.948e-05/0.5437, allocations: 20 kB / 0.7113 GB, free: 10.96 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00424/0.548, allocations: 1.728 MB / 0.713 GB, free: 9.301 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.548, allocations: 11.98 kB / 0.713 GB, free: 9.289 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/0.5482, allocations: 129.2 kB / 0.7131 GB, free: 9.207 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003071/0.5513, allocations: 0.5529 MB / 0.7137 GB, free: 8.695 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.5527, allocations: 0.7673 MB / 0.7144 GB, free: 8.031 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.5529, allocations: 224.3 kB / 0.7146 GB, free: 7.805 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.553, allocations: 77.38 kB / 0.7147 GB, free: 7.754 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.5545, allocations: 0.9533 MB / 0.7156 GB, free: 7.137 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.5545, allocations: 7.984 kB / 0.7156 GB, free: 7.129 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.789e-05/0.5546, allocations: 28.69 kB / 0.7157 GB, free: 7.125 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.5546, allocations: 20 kB / 0.7157 GB, free: 7.105 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.556, allocations: 0.8838 MB / 0.7165 GB, free: 6.551 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00483/0.5609, allocations: 3.153 MB / 0.7196 GB, free: 4.125 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.563, allocations: 1.472 MB / 0.7211 GB, free: 2.879 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007799/0.5638, allocations: 0.5964 MB / 0.7216 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.5639, allocations: 8.781 kB / 0.7217 GB, free: 2.551 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.5639, allocations: 46.2 kB / 0.7217 GB, free: 2.504 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 3.317e-06/0.564, allocations: 0 / 0.7217 GB, free: 2.504 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.01191/0.5759, allocations: 4.237 MB / 0.7258 GB, free: 14.83 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.576, allocations: 89.88 kB / 0.7259 GB, free: 14.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.5771, allocations: 0.7713 MB / 0.7267 GB, free: 14.12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.5774, allocations: 47.89 kB / 0.7267 GB, free: 14.09 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.5777, allocations: 0.4994 MB / 0.7272 GB, free: 13.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003763/0.5781, allocations: 327.2 kB / 0.7275 GB, free: 13.52 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.5781, allocations: 17.44 kB / 0.7275 GB, free: 13.52 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5783, allocations: 336.3 kB / 0.7279 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007207/0.579, allocations: 450.7 kB / 0.7283 GB, free: 12.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.5798, allocations: 0.5515 MB / 0.7288 GB, free: 12.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008075/0.5807, allocations: 0.4892 MB / 0.7293 GB, free: 12.31 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5807, allocations: 0 / 0.7293 GB, free: 12.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01237/0.593, allocations: 4.387 MB / 0.7336 GB, free: 8.527 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002514/0.5933, allocations: 0.792 MB / 0.7344 GB, free: 7.691 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.5934, allocations: 4 kB / 0.7344 GB, free: 7.688 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005463/0.5988, allocations: 1.808 MB / 0.7361 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006212/0.5995, allocations: 115.1 kB / 0.7362 GB, free: 6.004 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01529/0.6148, allocations: 7.72 MB / 0.7438 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.6164, allocations: 199.1 kB / 0.744 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-05/0.6165, allocations: 24 kB / 0.744 GB, free: 15.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.6165, allocations: 4 kB / 0.744 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0122/0.6287, allocations: 4.247 MB / 0.7481 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.6288, allocations: 4 kB / 0.7481 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005506/0.6343, allocations: 1.815 MB / 0.7499 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.6349, allocations: 111.8 kB / 0.75 GB, free: 9.508 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01571/0.6507, allocations: 7.686 MB / 0.7575 GB, free: 1.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.6523, allocations: 191.2 kB / 0.7577 GB, free: 1.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.6524, allocations: 24 kB / 0.7577 GB, free: 1.473 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] 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 (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 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003244/0.6527, allocations: 156.5 kB / 0.7579 GB, free: 1.316 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.653, allocations: 114.6 kB / 0.758 GB, free: 1.203 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.6657, allocations: 4.358 MB / 0.7623 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.6657, allocations: 8 kB / 0.7623 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6658, allocations: 3.984 kB / 0.7623 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.073e-05/0.6658, allocations: 7.938 kB / 0.7623 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.6807, allocations: 5.978 MB / 0.7681 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.6808, allocations: 0 / 0.7681 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006307/0.6814, allocations: 87.89 kB / 0.7682 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00527/0.6867, allocations: 1.738 MB / 0.7699 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.6869, allocations: 19.98 kB / 0.7699 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/0.7007, allocations: 6.701 MB / 0.7765 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.7008, allocations: 4 kB / 0.7765 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/0.7145, allocations: 5.089 MB / 0.7814 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.715, allocations: 211.5 kB / 0.7816 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.7152, allocations: 20 kB / 0.7816 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.7163, allocations: 139.9 kB / 0.7818 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005558/0.7169, allocations: 204.4 kB / 0.782 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.365e-05/0.7169, allocations: 31.94 kB / 0.782 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007869/0.7177, allocations: 0.605 MB / 0.7826 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7177, allocations: 0 / 0.7826 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001807/0.7195, allocations: 0.6826 MB / 0.7833 GB, free: 6.977 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.01408/0.7336, allocations: 5.688 MB / 0.7888 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01008/0.7438, allocations: 3.649 MB / 0.7924 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.7438, allocations: 7.938 kB / 0.7924 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004255/0.7481, allocations: 1.499 MB / 0.7939 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007466/0.7489, allocations: 97.67 kB / 0.7939 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.7524, allocations: 1.775 MB / 0.7957 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.7529, allocations: 1.138 MB / 0.7968 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005997/0.7536, allocations: 157.1 kB / 0.7969 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/0.754, allocations: 419.3 kB / 0.7973 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of SimCode: time 2.073e-06/0.754, allocations: 0 / 0.7973 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06305/0.8171, allocations: 39.38 MB / 0.8358 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.8173, allocations: 173.7 kB / 0.836 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/3.914, allocations: 4.062 kB / 0.836 GB, free: 0.8711 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)