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.001094/0.001094, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05966/0.05966, allocations: 10.66 MB / 23.92 MB, free: 1.375 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.556/1.556, allocations: 205.2 MB / 232.1 MB, free: 12.76 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.000863/0.0008631, allocations: 97.12 kB / 282.6 MB, free: 13.57 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 4.284e-05/4.286e-05, allocations: 8 kB / 340.5 MB, free: 3.617 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2884, allocations: 49.99 MB / 390.5 MB, free: 35.73 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.4032, allocations: 78.81 MB / 469.3 MB, free: 4.809 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4036, allocations: 79.95 kB / 469.4 MB, free: 4.73 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01399/0.4176, allocations: 4.485 MB / 473.9 MB, free: 228 kB / 346.8 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4176, allocations: 0 / 473.9 MB, free: 228 kB / 346.8 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.4176, allocations: 4 kB / 473.9 MB, free: 224 kB / 346.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.001074/0.4187, allocations: 0.5592 MB / 474.4 MB, free: 15.6 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.4188, allocations: 11.97 kB / 474.4 MB, free: 15.59 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.936e-05/0.4189, allocations: 35.67 kB / 474.5 MB, free: 15.55 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/0.4195, allocations: 333.5 kB / 474.8 MB, free: 15.19 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.4196, allocations: 101.4 kB / 474.9 MB, free: 15.07 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.4197, allocations: 16 kB / 474.9 MB, free: 15.05 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.4201, allocations: 203.5 kB / 475.1 MB, free: 14.84 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4201, allocations: 4 kB / 475.1 MB, free: 14.83 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.4201, allocations: 4 kB / 475.1 MB, free: 14.83 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.4201, allocations: 4 kB / 475.1 MB, free: 14.82 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.4203, allocations: 100.7 kB / 475.2 MB, free: 14.73 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.4218, allocations: 0.7032 MB / 475.9 MB, free: 13.97 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.422, allocations: 102.5 kB / 476 MB, free: 13.86 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.4221, allocations: 60.84 kB / 476.1 MB, free: 13.8 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.4222, allocations: 4.188 kB / 476.1 MB, free: 13.8 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.4225, allocations: 127.3 kB / 476.2 MB, free: 13.66 MB / 362.8 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.4225, allocations: 0 / 476.2 MB, free: 13.66 MB / 362.8 MB Notification: Performance of matching and sorting (n=16): time 0.0003883/0.4229, allocations: 162.4 kB / 476.4 MB, free: 13.5 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.4229, allocations: 63.33 kB / 476.4 MB, free: 13.42 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.4231, allocations: 201 kB / 476.6 MB, free: 13.22 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.4232, allocations: 33.7 kB / 476.7 MB, free: 13.18 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.4233, allocations: 144.4 kB / 476.8 MB, free: 13.04 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.4234, allocations: 51.28 kB / 476.8 MB, free: 12.99 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.4234, allocations: 12 kB / 476.9 MB, free: 12.98 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4236, allocations: 330.8 kB / 477.2 MB, free: 12.64 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.4237, allocations: 52 kB / 477.2 MB, free: 12.59 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.4238, allocations: 93.95 kB / 477.3 MB, free: 12.49 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.424, allocations: 84.69 kB / 477.4 MB, free: 12.41 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.424, allocations: 4 kB / 477.4 MB, free: 12.4 MB / 362.8 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003629/0.4243, allocations: 225.6 kB / 477.6 MB, free: 12.17 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/0.4244, allocations: 34.78 kB / 477.7 MB, free: 12.13 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4244, allocations: 0 / 477.7 MB, free: 12.13 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4245, allocations: 4 kB / 477.7 MB, free: 12.13 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.4257, allocations: 127.9 kB / 477.8 MB, free: 12 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.4278, allocations: 2.577 MB / 480.4 MB, free: 9.168 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.428, allocations: 39.91 kB / 480.4 MB, free: 9.129 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.4281, allocations: 8 kB / 480.4 MB, free: 9.121 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 () * 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.0001249/0.4282, allocations: 125 kB / 480.5 MB, free: 8.992 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.4282, allocations: 23.72 kB / 480.6 MB, free: 8.969 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004416/0.4287, allocations: 208.4 kB / 480.8 MB, free: 8.758 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.4287, allocations: 4 kB / 480.8 MB, free: 8.754 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.4287, allocations: 0 / 480.8 MB, free: 8.754 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4287, allocations: 4 kB / 480.8 MB, free: 8.75 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009014/0.4296, allocations: 0.5771 MB / 481.3 MB, free: 8.117 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.4297, allocations: 4 kB / 481.4 MB, free: 8.113 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.4308, allocations: 111.9 kB / 481.5 MB, free: 8.004 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4308, allocations: 0 / 481.5 MB, free: 8.004 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.4308, allocations: 11.98 kB / 481.5 MB, free: 7.992 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4308, allocations: 3.953 kB / 481.5 MB, free: 7.988 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4308, allocations: 0 / 481.5 MB, free: 7.988 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/0.4313, allocations: 358.2 kB / 481.8 MB, free: 7.625 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.4314, allocations: 104.8 kB / 481.9 MB, free: 7.504 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.4315, allocations: 4 kB / 481.9 MB, free: 7.5 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.4317, allocations: 39.91 kB / 482 MB, free: 7.461 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.4319, allocations: 27.91 kB / 482 MB, free: 7.434 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.4319, allocations: 4 kB / 482 MB, free: 7.43 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0001749/0.4321, allocations: 165.4 kB / 482.2 MB, free: 7.266 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4321, allocations: 0 / 482.2 MB, free: 7.266 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.000304/0.4324, allocations: 36 kB / 482.2 MB, free: 7.23 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) * 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.000221/0.4326, allocations: 112.2 kB / 482.3 MB, free: 7.113 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0007119/0.4333, allocations: 227.4 kB / 482.5 MB, free: 6.879 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4334, allocations: 4.062 kB / 482.5 MB, free: 6.875 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.4335, allocations: 91.86 kB / 482.6 MB, free: 6.785 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.4338, allocations: 24.38 kB / 482.6 MB, free: 6.762 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009662/0.4348, allocations: 341.8 kB / 483 MB, free: 6.41 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006554/0.4355, allocations: 0.7555 MB / 483.7 MB, free: 5.629 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0001681/0.4357, allocations: 30.06 kB / 483.8 MB, free: 5.598 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.4358, allocations: 23.44 kB / 483.8 MB, free: 5.574 MB / 362.8 MB Notification: Performance of SimCode: time 2.71e-07/0.4358, allocations: 0 / 483.8 MB, free: 5.574 MB / 362.8 MB Notification: Performance of Templates: time 0.006087/0.4419, allocations: 2.187 MB / 486 MB, free: 3.43 MB / 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)