Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.TGTypeII_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_release_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.001077/0.001081, allocations: 174.1 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.487/1.487, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.0009089/0.0009089, allocations: 92.92 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5483/0.5483, allocations: 78.08 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.174e-05/4.177e-05, allocations: 4 kB / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.3991, allocations: 69.35 MB / 0.5481 GB, free: 20.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.5434, allocations: 98.52 MB / 0.6443 GB, free: 2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.5437, allocations: 83.95 kB / 0.6444 GB, free: 1.918 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07162/0.6153, allocations: 25.89 MB / 0.6697 GB, free: 7.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.6154, allocations: 0 / 0.6697 GB, free: 7.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.568e-05/0.6155, allocations: 20 kB / 0.6697 GB, free: 7.82 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.006762/0.6222, allocations: 1.72 MB / 0.6714 GB, free: 6.051 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.6223, allocations: 11.97 kB / 0.6714 GB, free: 6.039 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003156/0.6226, allocations: 130.6 kB / 0.6715 GB, free: 5.902 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/0.6263, allocations: 0.5525 MB / 0.6721 GB, free: 5.348 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.628, allocations: 0.7518 MB / 0.6728 GB, free: 4.543 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.6283, allocations: 230.4 kB / 0.673 GB, free: 4.285 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.6284, allocations: 72 kB / 0.6731 GB, free: 4.215 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.6302, allocations: 0.9618 MB / 0.674 GB, free: 3.242 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.6302, allocations: 0 / 0.674 GB, free: 3.242 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.864e-05/0.6303, allocations: 39.92 kB / 0.6741 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.6304, allocations: 16 kB / 0.6741 GB, free: 3.188 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.632, allocations: 0.8788 MB / 0.6749 GB, free: 2.305 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3618/0.9938, allocations: 3.148 MB / 0.678 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/0.9966, allocations: 1.475 MB / 0.6794 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.9976, allocations: 0.5951 MB / 0.68 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.9977, allocations: 15.47 kB / 0.68 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.9978, allocations: 46.22 kB / 0.6801 GB, free: 103.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.667e-06/0.9978, allocations: 3.688 kB / 0.6801 GB, free: 103.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01547/1.013, allocations: 4.231 MB / 0.6842 GB, free: 103.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/1.013, allocations: 94.73 kB / 0.6843 GB, free: 103.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/1.015, allocations: 0.7757 MB / 0.6851 GB, free: 103 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002508/1.015, allocations: 39.95 kB / 0.6851 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000312/1.015, allocations: 0.4947 MB / 0.6856 GB, free: 102.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/1.016, allocations: 323 kB / 0.6859 GB, free: 102.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/1.016, allocations: 17.81 kB / 0.6859 GB, free: 102.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.745e-05/1.016, allocations: 342.2 kB / 0.6862 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000706/1.017, allocations: 454.1 kB / 0.6867 GB, free: 102.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007167/1.017, allocations: 0.5499 MB / 0.6872 GB, free: 102.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/1.018, allocations: 497.8 kB / 0.6877 GB, free: 102.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.018, allocations: 3.953 kB / 0.6877 GB, free: 102.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0126/1.031, allocations: 4.379 MB / 0.692 GB, free: 101.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002105/1.031, allocations: 0.8027 MB / 0.6927 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.031, allocations: 0 / 0.6927 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005484/1.036, allocations: 1.811 MB / 0.6945 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/1.037, allocations: 118 kB / 0.6946 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/1.052, allocations: 7.714 MB / 0.7022 GB, free: 96.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/1.053, allocations: 201.2 kB / 0.7023 GB, free: 96.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.925e-05/1.054, allocations: 26.47 kB / 0.7024 GB, free: 96.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/1.054, allocations: 7.781 kB / 0.7024 GB, free: 96.73 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01235/1.066, allocations: 4.255 MB / 0.7065 GB, free: 95.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/1.066, allocations: 0 / 0.7065 GB, free: 95.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005337/1.071, allocations: 1.804 MB / 0.7083 GB, free: 94.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/1.072, allocations: 113.5 kB / 0.7084 GB, free: 94.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/1.087, allocations: 7.698 MB / 0.7159 GB, free: 87.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.088, allocations: 178.4 kB / 0.7161 GB, free: 87.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/1.088, allocations: 30.67 kB / 0.7161 GB, free: 87.07 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.000301/1.089, allocations: 162.2 kB / 0.7163 GB, free: 86.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/1.089, allocations: 118.5 kB / 0.7164 GB, free: 86.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/1.101, allocations: 4.346 MB / 0.7206 GB, free: 83.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/1.101, allocations: 8 kB / 0.7206 GB, free: 83.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.101, allocations: 3.953 kB / 0.7206 GB, free: 83.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.893e-05/1.101, allocations: 10.94 kB / 0.7207 GB, free: 83.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/1.116, allocations: 5.971 MB / 0.7265 GB, free: 78.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.116, allocations: 0 / 0.7265 GB, free: 78.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/1.117, allocations: 94.62 kB / 0.7266 GB, free: 78.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005081/1.122, allocations: 1.74 MB / 0.7283 GB, free: 77.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/1.122, allocations: 16 kB / 0.7283 GB, free: 77.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/1.134, allocations: 6.701 MB / 0.7348 GB, free: 70.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.134, allocations: 0 / 0.7348 GB, free: 70.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/1.147, allocations: 5.089 MB / 0.7398 GB, free: 65.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006634/1.148, allocations: 215.3 kB / 0.74 GB, free: 64.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/1.148, allocations: 16 kB / 0.74 GB, free: 64.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.15, allocations: 143.9 kB / 0.7402 GB, free: 64.69 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006299/1.15, allocations: 204.4 kB / 0.7404 GB, free: 64.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/1.15, allocations: 23.06 kB / 0.7404 GB, free: 64.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007806/1.151, allocations: 0.6087 MB / 0.741 GB, free: 63.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.151, allocations: 0 / 0.741 GB, free: 63.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001912/1.153, allocations: 0.6808 MB / 0.7416 GB, free: 63.18 MB / 490.7 MB 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.0138/1.167, allocations: 5.688 MB / 0.7472 GB, free: 57.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009458/1.176, allocations: 3.654 MB / 0.7508 GB, free: 53.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.176, allocations: 0 / 0.7508 GB, free: 53.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004078/1.18, allocations: 1.503 MB / 0.7522 GB, free: 52.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008539/1.181, allocations: 95.33 kB / 0.7523 GB, free: 52.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/1.185, allocations: 1.774 MB / 0.7541 GB, free: 50.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/1.186, allocations: 1.134 MB / 0.7552 GB, free: 49.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006154/1.186, allocations: 160.7 kB / 0.7553 GB, free: 49.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/1.187, allocations: 419.3 kB / 0.7557 GB, free: 48.66 MB / 490.7 MB Notification: Performance of SimCode: time 1.332e-06/1.187, allocations: 0 / 0.7557 GB, free: 48.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0634/1.25, allocations: 39.34 MB / 0.7941 GB, free: 9.781 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/1.25, allocations: 179.9 kB / 0.7943 GB, free: 9.555 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.174/4.424, allocations: 0 / 0.7943 GB, free: 9.555 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)