Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.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/IndustrialControlSystems 1.1.0-master/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) 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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",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.00815/0.00815, allocations: 170.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08576/0.08576, allocations: 10.74 MB / 26.59 MB, free: 2.238 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 235.2 MB, free: 100 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000977/0.0009769, allocations: 81.39 kB / 285.9 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003121, allocations: 8 kB / 346.5 MB, free: 5.059 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1121, allocations: 50 MB / 396.5 MB, free: 2.969 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3233/0.4354, allocations: 78.9 MB / 475.4 MB, free: 16.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/0.4358, allocations: 79.08 kB / 475.5 MB, free: 16.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01327/0.4491, allocations: 4.492 MB / 480 MB, free: 13.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4492, allocations: 0 / 480 MB, free: 13.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.4492, allocations: 11.98 kB / 480 MB, free: 13.16 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001212/0.4504, allocations: 0.6088 MB / 480.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.4505, allocations: 12.03 kB / 480.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.05e-05/0.4506, allocations: 51.73 kB / 480.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.753e-05/0.4507, allocations: 31.72 kB / 480.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/0.4513, allocations: 338.3 kB / 481 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.114e-05/0.4514, allocations: 96.14 kB / 481.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.416e-05/0.4515, allocations: 24.78 kB / 481.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005409/0.452, allocations: 249.8 kB / 481.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.452, allocations: 4 kB / 481.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.4521, allocations: 7.812 kB / 481.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.4521, allocations: 4 kB / 481.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005564/0.4526, allocations: 190.8 kB / 481.6 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.4541, allocations: 0.7067 MB / 482.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.4546, allocations: 189.1 kB / 482.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.4547, allocations: 4 kB / 482.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004913/0.4552, allocations: 176.1 kB / 482.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.775e-06/0.4552, allocations: 4 kB / 482.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009479/0.4561, allocations: 351.5 kB / 483 MB, free: 10.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.4562, allocations: 51.41 kB / 483.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.4564, allocations: 207.4 kB / 483.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.4564, allocations: 28.77 kB / 483.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.4565, allocations: 148.9 kB / 483.4 MB, free: 9.941 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.4566, allocations: 50.72 kB / 483.5 MB, free: 9.898 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.4566, allocations: 3.438 kB / 483.5 MB, free: 9.898 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.4567, allocations: 337 kB / 483.8 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.457, allocations: 100.2 kB / 483.9 MB, free: 9.492 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.4573, allocations: 141.6 kB / 484 MB, free: 9.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.4576, allocations: 132.1 kB / 484.2 MB, free: 9.258 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4576, allocations: 0.75 kB / 484.2 MB, free: 9.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006648/0.4583, allocations: 325.3 kB / 484.5 MB, free: 8.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.4583, allocations: 37.5 kB / 484.5 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.4583, allocations: 0 / 484.5 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.4584, allocations: 4 kB / 484.5 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.4596, allocations: 127.9 kB / 484.7 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.4615, allocations: 2.709 MB / 487.4 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.4618, allocations: 51.52 kB / 487.4 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.4619, allocations: 11.88 kB / 487.4 MB, free: 5.832 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,LLaw.TS,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,LL.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.462, allocations: 126.1 kB / 487.6 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.4621, allocations: 19.81 kB / 487.6 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006853/0.4628, allocations: 314.7 kB / 487.9 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4628, allocations: 4 kB / 487.9 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.4628, allocations: 0 / 487.9 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4628, allocations: 1.5 kB / 487.9 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.4639, allocations: 0.6691 MB / 488.6 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4639, allocations: 0 / 488.6 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.465, allocations: 115 kB / 488.7 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.465, allocations: 0 / 488.7 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.465, allocations: 0 / 488.7 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.465, allocations: 11.08 kB / 488.7 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.465, allocations: 0 / 488.7 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008799/0.4659, allocations: 0.4893 MB / 489.2 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.466, allocations: 96.77 kB / 489.3 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.466, allocations: 7.312 kB / 489.3 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.4663, allocations: 38.88 kB / 489.3 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/0.4664, allocations: 30.97 kB / 489.3 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.4664, allocations: 7.125 kB / 489.3 MB, free: 4.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.4665, allocations: 159.5 kB / 489.5 MB, free: 3.953 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4665, allocations: 0 / 489.5 MB, free: 3.953 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003266/0.4668, allocations: 59.03 kB / 489.6 MB, free: 3.898 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLaw.TS,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001106/0.468, allocations: 1.031 MB / 490.6 MB, free: 2.922 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009808/0.469, allocations: 334.6 kB / 490.9 MB, free: 2.633 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.469, allocations: 0 / 490.9 MB, free: 2.633 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.4693, allocations: 125.7 kB / 491 MB, free: 2.531 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.4695, allocations: 23.62 kB / 491.1 MB, free: 2.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.4722, allocations: 1.926 MB / 493 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.4725, allocations: 0.7594 MB / 493.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.4727, allocations: 34.12 kB / 493.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.4728, allocations: 78.09 kB / 493.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4728, allocations: 0 / 493.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.4955, allocations: 4.585 MB / 498.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002938/0.4958, allocations: 248.4 kB / 498.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/2.637, allocations: 0 / 498.7 MB, free: 11.14 MB / 362.7 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL_fmu --startTime=0 --stopTime=22 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1)