Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_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.001045/0.001045, allocations: 180.2 kB / 7.65 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 221.5 MB / 229.6 MB, free: 3.113 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.001073/0.001073, allocations: 96.47 kB / 280.5 MB, free: 1.121 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5044/0.5044, allocations: 78.94 MB / 410.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.424e-05/2.426e-05, allocations: 8 kB / 486 MB, free: 3.137 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3673, allocations: 69.51 MB / 0.5425 GB, free: 20.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.5215, allocations: 101.6 MB / 0.6418 GB, free: 2.105 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/0.522, allocations: 91.94 kB / 0.6418 GB, free: 2.016 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08928/0.6113, allocations: 31.13 MB / 0.6722 GB, free: 2.664 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6113, allocations: 0 / 0.6722 GB, free: 2.664 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001584/0.6115, allocations: 31.94 kB / 0.6723 GB, free: 2.633 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.006396/0.6179, allocations: 1.973 MB / 0.6742 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.618, allocations: 12.03 kB / 0.6742 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/0.6217, allocations: 0.5949 MB / 0.6748 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3083/0.93, allocations: 0.9027 MB / 0.6757 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.9303, allocations: 209.6 kB / 0.6759 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.9305, allocations: 64.2 kB / 0.6759 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001981/0.9325, allocations: 1.031 MB / 0.6769 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.9344, allocations: 1.088 MB / 0.678 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.9345, allocations: 8.438 kB / 0.678 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.944e-05/0.9346, allocations: 1.156 kB / 0.678 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.9346, allocations: 28.48 kB / 0.678 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006725/0.9413, allocations: 4.129 MB / 0.6821 GB, free: 99.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/0.944, allocations: 1.679 MB / 0.6837 GB, free: 98.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.9452, allocations: 0.6722 MB / 0.6844 GB, free: 98.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.9453, allocations: 20.61 kB / 0.6844 GB, free: 98.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.9453, allocations: 46.94 kB / 0.6844 GB, free: 98.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 2.945e-06/0.9453, allocations: 0 / 0.6844 GB, free: 98.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.01267/0.958, allocations: 4.362 MB / 0.6887 GB, free: 98.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.9581, allocations: 116.1 kB / 0.6888 GB, free: 98.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.9597, allocations: 0.8431 MB / 0.6896 GB, free: 98.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002524/0.96, allocations: 29.7 kB / 0.6897 GB, free: 98.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.9603, allocations: 0.6141 MB / 0.6903 GB, free: 98.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004395/0.9608, allocations: 400.7 kB / 0.6906 GB, free: 97.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.9609, allocations: 1.219 kB / 0.6906 GB, free: 97.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.9609, allocations: 343.5 kB / 0.691 GB, free: 97.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006818/0.9616, allocations: 0.4991 MB / 0.6915 GB, free: 97.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000722/0.9624, allocations: 0.6659 MB / 0.6921 GB, free: 97.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000736/0.9631, allocations: 0.5632 MB / 0.6927 GB, free: 97.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.9631, allocations: 0 / 0.6927 GB, free: 97.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01183/0.9749, allocations: 4.576 MB / 0.6971 GB, free: 96.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002696/0.9753, allocations: 1.339 MB / 0.6984 GB, free: 94.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.9753, allocations: 3.75 kB / 0.6984 GB, free: 94.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005216/0.9805, allocations: 1.752 MB / 0.7002 GB, free: 94.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000921/0.9815, allocations: 189.2 kB / 0.7003 GB, free: 94.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/0.9947, allocations: 7.473 MB / 0.7076 GB, free: 90.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.9966, allocations: 205.5 kB / 0.7078 GB, free: 90.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.9968, allocations: 43.75 kB / 0.7079 GB, free: 90.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.9968, allocations: 3 kB / 0.7079 GB, free: 90.25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01188/1.009, allocations: 4.385 MB / 0.7122 GB, free: 89.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/1.009, allocations: 6.578 kB / 0.7122 GB, free: 89.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005086/1.014, allocations: 1.761 MB / 0.7139 GB, free: 88.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008378/1.015, allocations: 170.5 kB / 0.714 GB, free: 88.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/1.028, allocations: 7.488 MB / 0.7214 GB, free: 81.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/1.03, allocations: 187.4 kB / 0.7215 GB, free: 81.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/1.03, allocations: 39.38 kB / 0.7216 GB, free: 81.64 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.realToBoolean.y,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0004817/1.031, allocations: 136.1 kB / 0.7217 GB, free: 81.51 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01233/1.043, allocations: 4.366 MB / 0.726 GB, free: 78.04 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008141/1.044, allocations: 149.1 kB / 0.7261 GB, free: 77.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/1.057, allocations: 4.45 MB / 0.7305 GB, free: 74.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/1.057, allocations: 12 kB / 0.7305 GB, free: 74.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.057, allocations: 4 kB / 0.7305 GB, free: 74.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.319e-05/1.057, allocations: 6.75 kB / 0.7305 GB, free: 74.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/1.072, allocations: 6.212 MB / 0.7365 GB, free: 68.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.072, allocations: 0 / 0.7365 GB, free: 68.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009334/1.073, allocations: 147.8 kB / 0.7367 GB, free: 68.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005112/1.078, allocations: 1.714 MB / 0.7384 GB, free: 66.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002542/1.078, allocations: 8 kB / 0.7384 GB, free: 66.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/1.091, allocations: 6.55 MB / 0.7448 GB, free: 60.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.091, allocations: 3.609 kB / 0.7448 GB, free: 60.19 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/1.104, allocations: 5.333 MB / 0.75 GB, free: 54.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005646/1.105, allocations: 235 kB / 0.7502 GB, free: 54.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004258/1.105, allocations: 0 / 0.7502 GB, free: 54.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/1.107, allocations: 151.9 kB / 0.7503 GB, free: 54.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006113/1.107, allocations: 216.9 kB / 0.7505 GB, free: 54.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/1.107, allocations: 28 kB / 0.7506 GB, free: 54.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001005/1.108, allocations: 0.6368 MB / 0.7512 GB, free: 53.56 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.8e-07/1.109, allocations: 0 / 0.7512 GB, free: 53.56 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002561/1.111, allocations: 0.7156 MB / 0.7519 GB, free: 52.85 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.derivative.x,tGTypeVI.transferFunction.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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.01322/1.124, allocations: 5.927 MB / 0.7577 GB, free: 46.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009972/1.134, allocations: 3.857 MB / 0.7614 GB, free: 43.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.134, allocations: 0 / 0.7614 GB, free: 43.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004235/1.139, allocations: 1.561 MB / 0.763 GB, free: 41.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/1.14, allocations: 130.5 kB / 0.7631 GB, free: 41.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/1.145, allocations: 2.067 MB / 0.7651 GB, free: 39.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/1.146, allocations: 1.261 MB / 0.7663 GB, free: 37.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001025/1.147, allocations: 225.1 kB / 0.7666 GB, free: 37.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/1.148, allocations: 0.5305 MB / 0.7671 GB, free: 37.21 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/1.148, allocations: 0 / 0.7671 GB, free: 37.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08314/1.231, allocations: 41.75 MB / 0.8078 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/1.231, allocations: 129.3 kB / 0.808 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.462/4.693, allocations: 3.938 kB / 0.808 GB, free: 11.59 MB / 0.4948 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)