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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0051/0.0051, allocations: 102.2 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 197.6 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 222.5 MB, free: 4.367 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05513/0.05513, allocations: 10.75 MB / 280.6 MB, free: 10.26 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 71.89 kB / 390.8 MB, free: 4.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2445, allocations: 49.01 MB / 439.9 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002911/0.2475, allocations: 1.866 MB / 441.7 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2488, allocations: 0.7267 MB / 442.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.249, allocations: 9.188 kB / 442.5 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.2492, allocations: 32.17 kB / 442.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.2493, allocations: 46.28 kB / 442.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.2497, allocations: 135.2 kB / 442.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.2501, allocations: 296.9 kB / 443 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.2502, allocations: 56.53 kB / 443 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.2504, allocations: 134 kB / 443.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.2506, allocations: 117.8 kB / 443.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.705e-05/0.2507, allocations: 21.59 kB / 443.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.715e-05/0.2507, allocations: 20.75 kB / 443.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.2508, allocations: 51.61 kB / 443.4 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.361e-05/0.2509, allocations: 113 kB / 443.5 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.2511, allocations: 226 kB / 443.7 MB, free: 2.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2512, allocations: 1.703 kB / 443.7 MB, free: 2.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2512, allocations: 0 / 443.7 MB, free: 2.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.2512, allocations: 4 kB / 443.7 MB, free: 2.852 MB / 318.1 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.001054/0.2522, allocations: 0.6151 MB / 444.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.2523, allocations: 13.08 kB / 444.3 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.87e-05/0.2524, allocations: 36.19 kB / 444.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.2528, allocations: 321.6 kB / 444.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/0.2528, allocations: 108.9 kB / 444.8 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.2529, allocations: 14.47 kB / 444.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.2534, allocations: 200.5 kB / 445 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2534, allocations: 0 / 445 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.2534, allocations: 6.031 kB / 445 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2534, allocations: 3.781 kB / 445 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.254, allocations: 175 kB / 445.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.2553, allocations: 0.7096 MB / 445.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.2558, allocations: 169.6 kB / 446 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.256, allocations: 97.81 kB / 446.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.2561, allocations: 1.938 kB / 446.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003798/0.2565, allocations: 165.9 kB / 446.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.714e-06/0.2565, allocations: 0 / 446.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009361/0.2574, allocations: 329.6 kB / 446.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.2575, allocations: 59.41 kB / 446.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.2576, allocations: 225.6 kB / 446.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.2577, allocations: 31.05 kB / 446.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.2577, allocations: 157.8 kB / 447.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.2578, allocations: 49.84 kB / 447.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/0.2579, allocations: 43.78 kB / 447.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.2579, allocations: 340.3 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.2582, allocations: 89.77 kB / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.2585, allocations: 134.3 kB / 447.7 MB, free: 168 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.259, allocations: 234.3 kB / 448 MB, free: 12 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.259, allocations: 0 / 448 MB, free: 12 kB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007438/0.2598, allocations: 313.3 kB / 448.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.2598, allocations: 32.17 kB / 448.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2598, allocations: 5.5 kB / 448.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2598, allocations: 1.281 kB / 448.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.2612, allocations: 123.8 kB / 448.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.2634, allocations: 2.887 MB / 451.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.2637, allocations: 35.7 kB / 451.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.2637, allocations: 9.25 kB / 451.3 MB, free: 12.68 MB / 334.1 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,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.2638, allocations: 144.4 kB / 451.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.2639, allocations: 22.31 kB / 451.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006924/0.2646, allocations: 275.8 kB / 451.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.2646, allocations: 6.031 kB / 451.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.2646, allocations: 1.125 kB / 451.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2646, allocations: 0 / 451.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.2656, allocations: 0.6358 MB / 452.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2657, allocations: 4 kB / 452.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.2668, allocations: 108.7 kB / 452.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.2669, allocations: 3.938 kB / 452.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.2669, allocations: 3.656 kB / 452.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2669, allocations: 4 kB / 452.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2669, allocations: 3.938 kB / 452.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000947/0.2679, allocations: 457.1 kB / 453 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.2679, allocations: 106.5 kB / 453.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.268, allocations: 2.375 kB / 453.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.2682, allocations: 28.47 kB / 453.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.2683, allocations: 26.55 kB / 453.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.2683, allocations: 8.594 kB / 453.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.2684, allocations: 158.2 kB / 453.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2684, allocations: 4 kB / 453.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000284/0.2687, allocations: 42.75 kB / 453.4 MB, free: 11.24 MB / 334.1 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,LLtr.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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001018/0.2688, allocations: 109.8 kB / 453.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009269/0.2698, allocations: 301.4 kB / 453.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2698, allocations: 1.156 kB / 453.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.2701, allocations: 110.4 kB / 453.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.2704, allocations: 32.73 kB / 453.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009094/0.2713, allocations: 453 kB / 454.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.2716, allocations: 0.7468 MB / 455.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.2717, allocations: 28 kB / 455.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.2718, allocations: 21.56 kB / 455.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2718, allocations: 3.938 kB / 455.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of Templates: time 0.005797/0.2776, allocations: 2.6 MB / 457.7 MB, free: 8.535 MB / 334.1 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)