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: translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002005/0.002005, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08668/0.08668, allocations: 10.66 MB / 18.73 MB, free: 1.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.3 MB / 226.9 MB, free: 7.98 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007802/0.0007801, allocations: 90.41 kB / 277.3 MB, free: 5.508 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 1.198e-05/1.211e-05, allocations: 4 kB / 333.5 MB, free: 28.49 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 50 MB / 383.5 MB, free: 10.45 MB / 282.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3762/0.4853, allocations: 78.44 MB / 462 MB, free: 6.355 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4856, allocations: 78.64 kB / 462.1 MB, free: 6.312 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01378/0.4994, allocations: 4.455 MB / 466.5 MB, free: 2.539 MB / 330.8 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4995, allocations: 0 / 466.5 MB, free: 2.539 MB / 330.8 MB Notification: Performance of Transformations before backend: time 2.583e-05/0.4995, allocations: 7.984 kB / 466.5 MB, free: 2.531 MB / 330.8 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.001125/0.5007, allocations: 0.5544 MB / 467.1 MB, free: 1.938 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.5007, allocations: 8.031 kB / 467.1 MB, free: 1.93 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.5009, allocations: 39.59 kB / 467.1 MB, free: 1.891 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/0.5015, allocations: 336.8 kB / 467.5 MB, free: 1.547 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.5017, allocations: 92.64 kB / 467.5 MB, free: 1.438 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.5017, allocations: 12 kB / 467.6 MB, free: 1.426 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002198/0.5019, allocations: 84.11 kB / 467.6 MB, free: 1.375 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.5022, allocations: 190.6 kB / 467.8 MB, free: 1.211 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5023, allocations: 3.984 kB / 467.8 MB, free: 1.207 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.5023, allocations: 0 / 467.8 MB, free: 1.207 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.5023, allocations: 4 kB / 467.8 MB, free: 1.203 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.5037, allocations: 0.6576 MB / 468.5 MB, free: 0.6289 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.5038, allocations: 99.14 kB / 468.6 MB, free: 0.5547 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.781e-05/0.5039, allocations: 50.86 kB / 468.6 MB, free: 0.5195 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.504, allocations: 0 / 468.6 MB, free: 0.5195 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.5042, allocations: 135.9 kB / 468.8 MB, free: 408 kB / 330.8 MB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.5042, allocations: 0 / 468.8 MB, free: 408 kB / 330.8 MB Notification: Performance of matching and sorting (n=16): time 0.0003351/0.5046, allocations: 153.8 kB / 468.9 MB, free: 276 kB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.5046, allocations: 55.39 kB / 469 MB, free: 208 kB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.5048, allocations: 199.7 kB / 469.2 MB, free: 32 kB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.5048, allocations: 25.7 kB / 469.2 MB, free: 0 / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.505, allocations: 144.6 kB / 469.3 MB, free: 15.89 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.505, allocations: 57.3 kB / 469.4 MB, free: 15.84 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.505, allocations: 0 / 469.4 MB, free: 15.84 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.5052, allocations: 333.2 kB / 469.7 MB, free: 15.51 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.5053, allocations: 49.06 kB / 469.8 MB, free: 15.48 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.5054, allocations: 88.47 kB / 469.8 MB, free: 15.41 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.207e-05/0.5055, allocations: 56.28 kB / 469.9 MB, free: 15.37 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5055, allocations: 0 / 469.9 MB, free: 15.37 MB / 346.8 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003316/0.5058, allocations: 187.3 kB / 470.1 MB, free: 15.22 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.5059, allocations: 37.69 kB / 470.1 MB, free: 15.18 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.5059, allocations: 0 / 470.1 MB, free: 15.18 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.5059, allocations: 4 kB / 470.1 MB, free: 15.18 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.5072, allocations: 127.4 kB / 470.2 MB, free: 15.05 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.509, allocations: 2.476 MB / 472.7 MB, free: 12.39 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.5093, allocations: 35.88 kB / 472.8 MB, free: 12.36 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.5093, allocations: 8 kB / 472.8 MB, free: 12.35 MB / 346.8 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: LLtr.Y:VARIABLE(protected = true ) "output before saturation" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: LLaw.Y:VARIABLE(protected = true ) "output before saturation" type: Real 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 () * 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.0001307/0.5094, allocations: 126.5 kB / 472.9 MB, free: 12.23 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.5095, allocations: 19.72 kB / 472.9 MB, free: 12.21 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/0.5098, allocations: 202.6 kB / 473.1 MB, free: 12.04 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5098, allocations: 4 kB / 473.1 MB, free: 12.04 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.5098, allocations: 4 kB / 473.1 MB, free: 12.03 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5098, allocations: 0 / 473.1 MB, free: 12.03 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.5105, allocations: 0.5237 MB / 473.6 MB, free: 11.55 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5105, allocations: 4 kB / 473.6 MB, free: 11.55 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.5116, allocations: 111.9 kB / 473.8 MB, free: 11.44 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.5116, allocations: 0 / 473.8 MB, free: 11.44 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.5116, allocations: 11.06 kB / 473.8 MB, free: 11.43 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5116, allocations: 0 / 473.8 MB, free: 11.43 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5116, allocations: 0 / 473.8 MB, free: 11.43 MB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.512, allocations: 352.1 kB / 474.1 MB, free: 11.14 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.5121, allocations: 96.77 kB / 474.2 MB, free: 11.02 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.5121, allocations: 4 kB / 474.2 MB, free: 11.02 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.5124, allocations: 32 kB / 474.2 MB, free: 10.99 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.5125, allocations: 30.41 kB / 474.3 MB, free: 10.96 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.5125, allocations: 11.98 kB / 474.3 MB, free: 10.95 MB / 346.8 MB Notification: Performance of sorting global known variables: time 0.0001147/0.5126, allocations: 146.9 kB / 474.4 MB, free: 10.83 MB / 346.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5126, allocations: 0 / 474.4 MB, free: 10.83 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.0003209/0.513, allocations: 35.91 kB / 474.5 MB, free: 10.79 MB / 346.8 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) * 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.000136/0.5131, allocations: 103.2 kB / 474.6 MB, free: 10.68 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.0007287/0.5138, allocations: 226.2 kB / 474.8 MB, free: 10.5 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5139, allocations: 4.062 kB / 474.8 MB, free: 10.49 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.514, allocations: 72.62 kB / 474.9 MB, free: 10.45 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.5143, allocations: 23.42 kB / 474.9 MB, free: 10.43 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/0.515, allocations: 327.8 kB / 475.2 MB, free: 10.12 MB / 346.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.5153, allocations: 0.7516 MB / 475.9 MB, free: 9.348 MB / 346.8 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.5155, allocations: 34.06 kB / 476 MB, free: 9.309 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.337e-05/0.5155, allocations: 19.44 kB / 476 MB, free: 9.289 MB / 346.8 MB Notification: Performance of SimCode: time 3.71e-07/0.5155, allocations: 0 / 476 MB, free: 9.289 MB / 346.8 MB Notification: Performance of Templates: time 0.004817/0.5204, allocations: 2.076 MB / 478.1 MB, free: 7.227 MB / 346.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.makefile (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 & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1)