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.001295/0.001295, allocations: 112.2 kB / 16.37 MB, free: 6.469 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.001393/0.001393, allocations: 190 kB / 17.31 MB, free: 5.828 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.423/1.423, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05744/0.05744, allocations: 10.74 MB / 281.3 MB, free: 1.312 MB / 222.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.001659/0.001659, allocations: 71.89 kB / 342 MB, free: 4.457 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.274, allocations: 49 MB / 391 MB, free: 49.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003491/0.2776, allocations: 1.88 MB / 392.9 MB, free: 48.63 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.2787, allocations: 0.7284 MB / 393.6 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.2788, allocations: 12.84 kB / 393.6 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.279, allocations: 28.89 kB / 393.6 MB, free: 48.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.575e-05/0.2791, allocations: 47.22 kB / 393.7 MB, free: 48.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.2795, allocations: 133 kB / 393.8 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.2798, allocations: 288.6 kB / 394.1 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.28, allocations: 65.72 kB / 394.2 MB, free: 47.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.2801, allocations: 122 kB / 394.3 MB, free: 47.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.2803, allocations: 117.9 kB / 394.4 MB, free: 47.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.2804, allocations: 21.53 kB / 394.4 MB, free: 47.72 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.509e-05/0.2804, allocations: 20.38 kB / 394.4 MB, free: 47.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.2805, allocations: 63.86 kB / 394.5 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.2806, allocations: 108.8 kB / 394.6 MB, free: 47.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.2809, allocations: 230 kB / 394.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2809, allocations: 0 / 394.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.2809, allocations: 1.469 kB / 394.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2809, allocations: 0 / 394.8 MB, free: 47.5 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.001256/0.2822, allocations: 0.6055 MB / 395.4 MB, free: 46.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/0.2822, allocations: 14.42 kB / 395.5 MB, free: 46.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.722e-05/0.2823, allocations: 29.16 kB / 395.5 MB, free: 46.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.2829, allocations: 321.6 kB / 395.8 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.112e-05/0.283, allocations: 103.7 kB / 395.9 MB, free: 46.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.283, allocations: 18.98 kB / 395.9 MB, free: 46.6 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.2836, allocations: 204 kB / 396.1 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2836, allocations: 4 kB / 396.1 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.2836, allocations: 6.078 kB / 396.1 MB, free: 46.51 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.2836, allocations: 4.125 kB / 396.1 MB, free: 46.51 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005319/0.2842, allocations: 170.5 kB / 396.3 MB, free: 46.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.2855, allocations: 0.7093 MB / 397 MB, free: 46.01 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.2861, allocations: 177.9 kB / 397.2 MB, free: 45.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.2864, allocations: 94.53 kB / 397.3 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.2864, allocations: 1.781 kB / 397.3 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003965/0.2868, allocations: 162.5 kB / 397.4 MB, free: 45.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.585e-06/0.2868, allocations: 0 / 397.4 MB, free: 45.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001033/0.2879, allocations: 333.3 kB / 397.8 MB, free: 45.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.2879, allocations: 62.34 kB / 397.8 MB, free: 45.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.2882, allocations: 229.6 kB / 398 MB, free: 45.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.2882, allocations: 27.67 kB / 398.1 MB, free: 45.47 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.2883, allocations: 156.8 kB / 398.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.2883, allocations: 46.92 kB / 398.3 MB, free: 45.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-05/0.2884, allocations: 47.89 kB / 398.3 MB, free: 45.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.714e-05/0.2885, allocations: 340 kB / 398.6 MB, free: 44.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.2888, allocations: 91.78 kB / 398.7 MB, free: 44.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.2891, allocations: 131.2 kB / 398.9 MB, free: 44.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000574/0.2897, allocations: 232.2 kB / 399.1 MB, free: 44.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2897, allocations: 1.156 kB / 399.1 MB, free: 44.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007755/0.2905, allocations: 321.7 kB / 399.4 MB, free: 44.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.2906, allocations: 33.02 kB / 399.4 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2906, allocations: 1.094 kB / 399.4 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.2906, allocations: 1.875 kB / 399.4 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.2919, allocations: 128.7 kB / 399.6 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.2937, allocations: 2.883 MB / 402.5 MB, free: 41.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.294, allocations: 39.86 kB / 402.5 MB, free: 41.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.294, allocations: 5.969 kB / 402.5 MB, free: 41.42 MB / 318.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.0001155/0.2941, allocations: 136.3 kB / 402.6 MB, free: 41.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.2942, allocations: 21.59 kB / 402.7 MB, free: 41.28 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000661/0.2948, allocations: 280 kB / 402.9 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2949, allocations: 1.5 kB / 402.9 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.2949, allocations: 0 / 402.9 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2949, allocations: 0 / 402.9 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009448/0.2958, allocations: 0.6571 MB / 403.6 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2958, allocations: 1.094 kB / 403.6 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.297, allocations: 111.8 kB / 403.7 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.297, allocations: 1.062 kB / 403.7 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.2971, allocations: 2.375 kB / 403.7 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2971, allocations: 4 kB / 403.7 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2971, allocations: 5.062 kB / 403.7 MB, free: 40.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009221/0.298, allocations: 456.4 kB / 404.2 MB, free: 40.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.2981, allocations: 107.1 kB / 404.3 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.2981, allocations: 1.188 kB / 404.3 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.2983, allocations: 29.53 kB / 404.3 MB, free: 40.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.2984, allocations: 26.28 kB / 404.3 MB, free: 40.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.2985, allocations: 11.8 kB / 404.3 MB, free: 40.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.2986, allocations: 155.8 kB / 404.5 MB, free: 39.99 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2986, allocations: 0 / 404.5 MB, free: 39.99 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.2989, allocations: 47.27 kB / 404.5 MB, free: 39.98 MB / 318.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 9.58e-05/0.299, allocations: 102.9 kB / 404.6 MB, free: 39.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009036/0.2999, allocations: 304.8 kB / 404.9 MB, free: 39.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2999, allocations: 0 / 404.9 MB, free: 39.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.3002, allocations: 107.1 kB / 405 MB, free: 39.67 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.3005, allocations: 39.61 kB / 405.1 MB, free: 39.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008983/0.3015, allocations: 446.5 kB / 405.5 MB, free: 39.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.3016, allocations: 0.7512 MB / 406.3 MB, free: 38.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.997e-05/0.3017, allocations: 31.48 kB / 406.3 MB, free: 38.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.3018, allocations: 21.62 kB / 406.3 MB, free: 38.58 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3018, allocations: 4 kB / 406.3 MB, free: 38.58 MB / 318.1 MB Notification: Performance of Templates: time 0.005862/0.3077, allocations: 2.565 MB / 408.9 MB, free: 37.33 MB / 318.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 -s gbode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1)