Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TGTypeII_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.008271/0.008271, allocations: 169.6 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.596/1.596, 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.0008598/0.0008601, allocations: 103.1 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.6292/0.6292, allocations: 78.53 MB / 419.8 MB, free: 44.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004256, allocations: 16 kB / 499.8 MB, free: 2.629 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4708, allocations: 69.35 MB / 0.5558 GB, free: 38.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.6148, allocations: 98.6 MB / 0.6521 GB, free: 7.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.6152, allocations: 87.95 kB / 0.6522 GB, free: 7.664 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06771/0.6829, allocations: 25.97 MB / 0.6775 GB, free: 13.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.683, allocations: 0 / 0.6775 GB, free: 13.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.242e-05/0.6831, allocations: 28 kB / 0.6776 GB, free: 13.54 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005174/0.6882, allocations: 1.955 MB / 0.6795 GB, free: 11.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.6883, allocations: 8.031 kB / 0.6795 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/0.6885, allocations: 130.6 kB / 0.6796 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/0.6917, allocations: 0.5526 MB / 0.6802 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.6934, allocations: 0.7905 MB / 0.6809 GB, free: 9.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.6936, allocations: 230.4 kB / 0.6811 GB, free: 9.723 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.6938, allocations: 72 kB / 0.6812 GB, free: 9.652 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.696, allocations: 1.192 MB / 0.6824 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.6961, allocations: 0 / 0.6824 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-05/0.6962, allocations: 32 kB / 0.6824 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.6962, allocations: 20 kB / 0.6824 GB, free: 8.398 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.6984, allocations: 1.163 MB / 0.6836 GB, free: 7.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005553/0.704, allocations: 3.159 MB / 0.6866 GB, free: 3.941 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003059/0.7071, allocations: 1.745 MB / 0.6884 GB, free: 2.082 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.7072, allocations: 13 kB / 0.6884 GB, free: 2.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.7072, allocations: 51.5 kB / 0.6884 GB, free: 2.012 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.607e-06/0.7073, allocations: 0 / 0.6884 GB, free: 2.012 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.02992/0.7372, allocations: 8.849 MB / 0.6971 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/0.7373, allocations: 90.05 kB / 0.6971 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.7388, allocations: 0.8038 MB / 0.6979 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002279/0.7391, allocations: 41.7 kB / 0.698 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000398/0.7395, allocations: 0.4967 MB / 0.6985 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.7398, allocations: 327.2 kB / 0.6988 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/0.7399, allocations: 20 kB / 0.6988 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7401, allocations: 333.9 kB / 0.6991 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.7414, allocations: 0.6774 MB / 0.6998 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.7429, allocations: 0.7921 MB / 0.7005 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.7443, allocations: 0.7108 MB / 0.7012 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7443, allocations: 3.938 kB / 0.7012 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01467/0.759, allocations: 5.066 MB / 0.7062 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004397/0.7595, allocations: 0.7943 MB / 0.707 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.7595, allocations: 0 / 0.707 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007145/0.7666, allocations: 2.24 MB / 0.7091 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009208/0.7676, allocations: 115.8 kB / 0.7093 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02422/0.7918, allocations: 10.77 MB / 0.7198 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.7935, allocations: 199.1 kB / 0.72 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.7936, allocations: 35.98 kB / 0.72 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.7936, allocations: 5.406 kB / 0.72 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01411/0.8077, allocations: 4.898 MB / 0.7248 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.8078, allocations: 3.953 kB / 0.7248 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006794/0.8146, allocations: 2.229 MB / 0.727 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.8153, allocations: 111.8 kB / 0.7271 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02356/0.8389, allocations: 10.75 MB / 0.7376 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.8405, allocations: 187.2 kB / 0.7377 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.543e-05/0.8406, allocations: 35.98 kB / 0.7378 GB, free: 14.96 MB / 0.5417 GB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(fixed = true 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 () * Number of clocked 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.0007471/0.8414, allocations: 310.7 kB / 0.7381 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.8417, allocations: 118.5 kB / 0.7382 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/0.8558, allocations: 5.03 MB / 0.7431 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/0.8559, allocations: 12 kB / 0.7431 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8559, allocations: 0 / 0.7431 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-05/0.856, allocations: 3.984 kB / 0.7431 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.8724, allocations: 6.652 MB / 0.7496 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.8725, allocations: 0 / 0.7496 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006797/0.8732, allocations: 95.89 kB / 0.7497 GB, free: 2.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006332/0.8796, allocations: 2.168 MB / 0.7518 GB, free: 428 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/0.8798, allocations: 23.98 kB / 0.7518 GB, free: 404 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0206/0.9004, allocations: 9.293 MB / 0.7609 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9005, allocations: 0 / 0.7609 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01631/0.9168, allocations: 6.017 MB / 0.7668 GB, free: 0.9102 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006676/0.9176, allocations: 215.4 kB / 0.767 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.9178, allocations: 20 kB / 0.767 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.9189, allocations: 143.8 kB / 0.7672 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006931/0.9196, allocations: 204.6 kB / 0.7674 GB, free: 328 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.176e-05/0.9197, allocations: 23.98 kB / 0.7674 GB, free: 304 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.3633/1.283, allocations: 0.6361 MB / 0.768 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.41e-07/1.283, allocations: 0 / 0.768 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003249/1.286, allocations: 0.6678 MB / 0.7687 GB, free: 147.3 MB / 0.5573 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 () * Number of clocked 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.01789/1.304, allocations: 6.602 MB / 0.7751 GB, free: 146.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.316, allocations: 4.346 MB / 0.7793 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.316, allocations: 0.5625 kB / 0.7793 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004712/1.321, allocations: 1.76 MB / 0.7811 GB, free: 146 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/1.322, allocations: 84.12 kB / 0.7811 GB, free: 146 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02669/1.348, allocations: 12.71 MB / 0.7936 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/1.349, allocations: 1.131 MB / 0.7947 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000595/1.35, allocations: 92.72 kB / 0.7948 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005502/1.35, allocations: 426.7 kB / 0.7952 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of SimCode: time 3.086e-06/1.35, allocations: 0 / 0.7952 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08307/1.433, allocations: 37.7 MB / 0.832 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/1.434, allocations: 196 kB / 0.8322 GB, free: 138.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.301/4.735, allocations: 3.938 kB / 0.8322 GB, free: 138.3 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)