Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_dev_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.0009206/0.0009206, allocations: 174.8 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.204/1.204, 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.0008753/0.0008753, allocations: 97.12 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4288/0.4288, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.107e-05, allocations: 4 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2976, allocations: 69.51 MB / 0.5492 GB, free: 19.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.4126, allocations: 99.1 MB / 0.646 GB, free: 0.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.4129, allocations: 91.89 kB / 0.6461 GB, free: 420 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06765/0.4806, allocations: 26.17 MB / 0.6716 GB, free: 6.047 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4806, allocations: 0 / 0.6716 GB, free: 6.047 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.083e-05/0.4807, allocations: 20 kB / 0.6717 GB, free: 6.027 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.004397/0.4851, allocations: 1.723 MB / 0.6733 GB, free: 4.254 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4851, allocations: 11.97 kB / 0.6734 GB, free: 4.242 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/0.4853, allocations: 126.6 kB / 0.6735 GB, free: 4.109 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.4884, allocations: 0.5564 MB / 0.674 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.4899, allocations: 0.7557 MB / 0.6748 GB, free: 2.742 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.4901, allocations: 230.4 kB / 0.675 GB, free: 2.484 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.4903, allocations: 79.98 kB / 0.6751 GB, free: 2.406 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.492, allocations: 0.9501 MB / 0.676 GB, free: 1.445 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.492, allocations: 0 / 0.676 GB, free: 1.445 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.4921, allocations: 32 kB / 0.676 GB, free: 1.414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.4921, allocations: 16 kB / 0.676 GB, free: 1.398 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.4937, allocations: 0.8866 MB / 0.6769 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2632/0.7569, allocations: 3.147 MB / 0.68 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/0.7592, allocations: 1.474 MB / 0.6814 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009176/0.7601, allocations: 0.5961 MB / 0.682 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.7603, allocations: 16.36 kB / 0.682 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.7603, allocations: 44.12 kB / 0.682 GB, free: 103 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.196e-06/0.7603, allocations: 1.094 kB / 0.682 GB, free: 103 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01315/0.7734, allocations: 4.234 MB / 0.6862 GB, free: 102.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.7735, allocations: 88.7 kB / 0.6863 GB, free: 102.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000962/0.7745, allocations: 0.7817 MB / 0.687 GB, free: 102.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.7746, allocations: 36.89 kB / 0.6871 GB, free: 102.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.7749, allocations: 0.4916 MB / 0.6875 GB, free: 102.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.7751, allocations: 327 kB / 0.6879 GB, free: 102.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.7752, allocations: 19.44 kB / 0.6879 GB, free: 102.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.7753, allocations: 346.9 kB / 0.6882 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006347/0.7759, allocations: 448.8 kB / 0.6886 GB, free: 101.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/0.7766, allocations: 0.5483 MB / 0.6892 GB, free: 101.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000667/0.7773, allocations: 499.4 kB / 0.6896 GB, free: 101.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7773, allocations: 0 / 0.6896 GB, free: 101.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01122/0.7885, allocations: 4.379 MB / 0.6939 GB, free: 101.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.7887, allocations: 0.8038 MB / 0.6947 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.7887, allocations: 0 / 0.6947 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004981/0.7937, allocations: 1.811 MB / 0.6965 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.7942, allocations: 119.6 kB / 0.6966 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/0.8074, allocations: 7.714 MB / 0.7041 GB, free: 95.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.8087, allocations: 194.6 kB / 0.7043 GB, free: 95.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/0.8087, allocations: 34.42 kB / 0.7043 GB, free: 95.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.8088, allocations: 10.92 kB / 0.7044 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01096/0.8197, allocations: 4.253 MB / 0.7085 GB, free: 93.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.8198, allocations: 4 kB / 0.7085 GB, free: 93.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004836/0.8246, allocations: 1.802 MB / 0.7103 GB, free: 92.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.8251, allocations: 115.6 kB / 0.7104 GB, free: 92.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.838, allocations: 7.681 MB / 0.7179 GB, free: 85.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.8393, allocations: 186.1 kB / 0.7181 GB, free: 85.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.426e-05/0.8394, allocations: 35.95 kB / 0.7181 GB, free: 85.24 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.0002322/0.8396, allocations: 144.5 kB / 0.7182 GB, free: 85.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.8398, allocations: 118.5 kB / 0.7183 GB, free: 84.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.8511, allocations: 4.347 MB / 0.7226 GB, free: 81.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/0.8512, allocations: 19.28 kB / 0.7226 GB, free: 81.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.8512, allocations: 0 / 0.7226 GB, free: 81.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.137e-05/0.8512, allocations: 3.328 kB / 0.7226 GB, free: 81.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.8643, allocations: 5.973 MB / 0.7284 GB, free: 76.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.8644, allocations: 0 / 0.7284 GB, free: 76.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.8649, allocations: 99.36 kB / 0.7285 GB, free: 76.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004637/0.8696, allocations: 1.738 MB / 0.7302 GB, free: 74.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.8697, allocations: 19.94 kB / 0.7303 GB, free: 74.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/0.8812, allocations: 6.695 MB / 0.7368 GB, free: 67.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8813, allocations: 0 / 0.7368 GB, free: 67.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/0.8936, allocations: 5.099 MB / 0.7418 GB, free: 62.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/0.894, allocations: 211.4 kB / 0.742 GB, free: 62.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.8942, allocations: 20 kB / 0.742 GB, free: 62.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.8952, allocations: 147.8 kB / 0.7421 GB, free: 62.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005252/0.8958, allocations: 192.4 kB / 0.7423 GB, free: 62.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.83e-05/0.8958, allocations: 24 kB / 0.7423 GB, free: 62.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006685/0.8965, allocations: 0.6048 MB / 0.7429 GB, free: 61.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8965, allocations: 0 / 0.7429 GB, free: 61.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001675/0.8982, allocations: 0.6804 MB / 0.7436 GB, free: 60.91 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.01209/0.9103, allocations: 5.7 MB / 0.7492 GB, free: 55.19 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008403/0.9187, allocations: 3.656 MB / 0.7527 GB, free: 51.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.9188, allocations: 3.938 kB / 0.7527 GB, free: 51.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003602/0.9224, allocations: 1.504 MB / 0.7542 GB, free: 50 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007196/0.9231, allocations: 83.34 kB / 0.7543 GB, free: 49.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.9264, allocations: 1.782 MB / 0.756 GB, free: 48.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.9268, allocations: 1.134 MB / 0.7571 GB, free: 46.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005508/0.9274, allocations: 168.8 kB / 0.7573 GB, free: 46.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/0.9277, allocations: 415.3 kB / 0.7577 GB, free: 46.39 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.9278, allocations: 0 / 0.7577 GB, free: 46.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05091/0.9787, allocations: 39.33 MB / 0.7961 GB, free: 7.492 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001303/0.9788, allocations: 168.8 kB / 0.7963 GB, free: 7.273 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/3.824, allocations: 0 / 0.7963 GB, free: 7.273 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)