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.001498/0.001498, allocations: 176.1 kB / 16.12 MB, free: 5.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.07425/0.07425, allocations: 10.76 MB / 27.62 MB, free: 1.863 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.487/1.487, allocations: 205.4 MB / 236.2 MB, free: 10.18 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008405/0.0008405, allocations: 98.3 kB / 287 MB, free: 12.39 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004245, allocations: 15.98 kB / 347.6 MB, free: 15.62 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2946, allocations: 49.99 MB / 397.6 MB, free: 34.61 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.402, allocations: 78.94 MB / 476.6 MB, free: 3.551 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/0.4024, allocations: 83.95 kB / 476.7 MB, free: 3.469 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.4166, allocations: 4.501 MB / 481.2 MB, free: 14.95 MB / 362.8 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4167, allocations: 0 / 481.2 MB, free: 14.95 MB / 362.8 MB Notification: Performance of Transformations before backend: time 2.643e-05/0.4167, allocations: 12 kB / 481.2 MB, free: 14.93 MB / 362.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.001267/0.418, allocations: 0.6105 MB / 481.8 MB, free: 14.26 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4181, allocations: 8.031 kB / 481.8 MB, free: 14.25 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.4182, allocations: 32.66 kB / 481.8 MB, free: 14.22 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006436/0.4188, allocations: 351.6 kB / 482.2 MB, free: 13.84 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.419, allocations: 97.38 kB / 482.3 MB, free: 13.72 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.419, allocations: 19.94 kB / 482.3 MB, free: 13.7 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.4196, allocations: 255.4 kB / 482.5 MB, free: 13.44 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4196, allocations: 3.938 kB / 482.5 MB, free: 13.43 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.4197, allocations: 8 kB / 482.5 MB, free: 13.43 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.4197, allocations: 4 kB / 482.5 MB, free: 13.42 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.4203, allocations: 188.7 kB / 482.7 MB, free: 13.24 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.422, allocations: 0.7149 MB / 483.4 MB, free: 12.47 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.4226, allocations: 190.4 kB / 483.6 MB, free: 12.28 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.4228, allocations: 101 kB / 483.7 MB, free: 12.18 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.4229, allocations: 0 / 483.7 MB, free: 12.18 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004763/0.4234, allocations: 183.1 kB / 483.9 MB, free: 11.98 MB / 362.8 MB Notification: Performance of pre-optimization done (n=16): time 2.255e-06/0.4234, allocations: 0 / 483.9 MB, free: 11.98 MB / 362.8 MB Notification: Performance of matching and sorting (n=16): time 0.0009888/0.4244, allocations: 357.2 kB / 484.3 MB, free: 11.63 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.4244, allocations: 55.39 kB / 484.3 MB, free: 11.56 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.4247, allocations: 228.9 kB / 484.5 MB, free: 11.33 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.4247, allocations: 29.7 kB / 484.6 MB, free: 11.3 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.4248, allocations: 156.3 kB / 484.7 MB, free: 11.14 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.4249, allocations: 47.36 kB / 484.8 MB, free: 11.09 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/0.4249, allocations: 4 kB / 484.8 MB, free: 11.09 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4251, allocations: 338.8 kB / 485.1 MB, free: 10.75 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.4254, allocations: 103.9 kB / 485.2 MB, free: 10.65 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.4257, allocations: 129.8 kB / 485.3 MB, free: 10.51 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005931/0.4263, allocations: 257.8 kB / 485.6 MB, free: 10.24 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4263, allocations: 0 / 485.6 MB, free: 10.24 MB / 362.8 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007411/0.4271, allocations: 330.8 kB / 485.9 MB, free: 9.906 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/0.4272, allocations: 33.69 kB / 485.9 MB, free: 9.867 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4272, allocations: 4 kB / 485.9 MB, free: 9.863 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4272, allocations: 0 / 485.9 MB, free: 9.863 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.4284, allocations: 127.9 kB / 486.1 MB, free: 9.738 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.4307, allocations: 2.697 MB / 488.8 MB, free: 6.77 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.431, allocations: 48 kB / 488.8 MB, free: 6.723 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.431, allocations: 11.98 kB / 488.8 MB, free: 6.711 MB / 362.8 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.0001952/0.4312, allocations: 130.5 kB / 488.9 MB, free: 6.574 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.4313, allocations: 19.81 kB / 489 MB, free: 6.555 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007244/0.432, allocations: 319.4 kB / 489.3 MB, free: 6.234 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.432, allocations: 7.938 kB / 489.3 MB, free: 6.227 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.432, allocations: 0 / 489.3 MB, free: 6.227 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.432, allocations: 0 / 489.3 MB, free: 6.227 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.4332, allocations: 0.6669 MB / 489.9 MB, free: 5.504 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4332, allocations: 3.938 kB / 490 MB, free: 5.5 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009449/0.4341, allocations: 107.9 kB / 490.1 MB, free: 5.395 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.4342, allocations: 4 kB / 490.1 MB, free: 5.391 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.4342, allocations: 4 kB / 490.1 MB, free: 5.387 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.4342, allocations: 0 / 490.1 MB, free: 5.387 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4342, allocations: 0 / 490.1 MB, free: 5.387 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009823/0.4352, allocations: 0.4952 MB / 490.6 MB, free: 4.875 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.4353, allocations: 100.7 kB / 490.7 MB, free: 4.758 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.4353, allocations: 12 kB / 490.7 MB, free: 4.746 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.4356, allocations: 36 kB / 490.7 MB, free: 4.711 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4357, allocations: 23.97 kB / 490.7 MB, free: 4.688 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.4357, allocations: 7.984 kB / 490.7 MB, free: 4.68 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0001609/0.4359, allocations: 160.5 kB / 490.9 MB, free: 4.52 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4359, allocations: 4 kB / 490.9 MB, free: 4.516 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003534/0.4362, allocations: 40 kB / 490.9 MB, free: 4.477 MB / 362.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) * 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.0001663/0.4364, allocations: 107.2 kB / 491 MB, free: 4.363 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.4374, allocations: 327.2 kB / 491.4 MB, free: 4.031 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.4375, allocations: 8.062 kB / 491.4 MB, free: 4.023 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.4378, allocations: 123.9 kB / 491.5 MB, free: 3.902 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.4382, allocations: 36.3 kB / 491.5 MB, free: 3.867 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.4393, allocations: 0.5109 MB / 492 MB, free: 3.324 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.4397, allocations: 0.744 MB / 492.8 MB, free: 2.551 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.4398, allocations: 33.94 kB / 492.8 MB, free: 2.52 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.4399, allocations: 19.44 kB / 492.8 MB, free: 2.5 MB / 362.8 MB Notification: Performance of SimCode: time 2.31e-07/0.4399, allocations: 0 / 492.8 MB, free: 2.5 MB / 362.8 MB Notification: Performance of Templates: time 0.005861/0.4458, allocations: 2.212 MB / 495 MB, free: 304 kB / 362.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)