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.001464/0.001464, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001691/0.001691, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.405/1.405, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05926/0.05926, allocations: 10.73 MB / 281.3 MB, free: 1.289 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.001395/0.001395, allocations: 73.47 kB / 391.5 MB, free: 45.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08037/0.08177, allocations: 49.02 MB / 440.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.00235/0.08415, allocations: 1.868 MB / 442.4 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008906/0.08506, allocations: 0.73 MB / 443.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.08518, allocations: 7.938 kB / 443.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.0853, allocations: 27.62 kB / 443.2 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.202e-05/0.0854, allocations: 47.58 kB / 443.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.08573, allocations: 135.8 kB / 443.4 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.08596, allocations: 287.3 kB / 443.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.08609, allocations: 64.88 kB / 443.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.08622, allocations: 127.5 kB / 443.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.08635, allocations: 123.4 kB / 443.9 MB, free: 404 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.08639, allocations: 20 kB / 444 MB, free: 384 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.059e-05/0.08643, allocations: 23.94 kB / 444 MB, free: 360 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.08648, allocations: 51.83 kB / 444 MB, free: 308 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.08656, allocations: 107.4 kB / 444.1 MB, free: 200 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.08677, allocations: 235 kB / 444.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.08678, allocations: 3.984 kB / 444.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.08678, allocations: 0 / 444.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.455e-06/0.0868, allocations: 0 / 444.4 MB, free: 15.96 MB / 334.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.001143/0.08795, allocations: 0.6055 MB / 445 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.08799, allocations: 11.89 kB / 445 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.271e-05/0.08807, allocations: 28.66 kB / 445 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.08849, allocations: 322.5 kB / 445.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-05/0.08858, allocations: 109.3 kB / 445.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.08863, allocations: 19.91 kB / 445.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.08915, allocations: 199.8 kB / 445.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.08917, allocations: 0 / 445.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.0892, allocations: 8 kB / 445.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.08921, allocations: 7.938 kB / 445.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000569/0.08979, allocations: 172.3 kB / 445.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.09118, allocations: 0.7068 MB / 446.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005633/0.09175, allocations: 182.2 kB / 446.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.09205, allocations: 88.8 kB / 446.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.09209, allocations: 11.98 kB / 446.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004222/0.09252, allocations: 167.1 kB / 447 MB, free: 13.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/0.09254, allocations: 0 / 447 MB, free: 13.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001016/0.09356, allocations: 325.2 kB / 447.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.0936, allocations: 59.41 kB / 447.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.09381, allocations: 232.9 kB / 447.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.09385, allocations: 25.7 kB / 447.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.09395, allocations: 148.4 kB / 447.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.09401, allocations: 63.23 kB / 447.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.363e-05/0.0941, allocations: 41.7 kB / 447.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.09423, allocations: 338.8 kB / 448.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.09454, allocations: 87.92 kB / 448.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.09487, allocations: 135.2 kB / 448.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006265/0.09551, allocations: 230.1 kB / 448.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.09552, allocations: 0 / 448.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007476/0.09628, allocations: 317.8 kB / 448.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.09633, allocations: 33.7 kB / 449 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.09634, allocations: 0 / 449 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.09636, allocations: 4.094 kB / 449 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.09787, allocations: 123.8 kB / 449.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.1003, allocations: 2.882 MB / 452 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.1006, allocations: 35.81 kB / 452 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.1006, allocations: 11.92 kB / 452 MB, free: 7.727 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.0001904/0.1008, allocations: 145.8 kB / 452.2 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.1009, allocations: 19.72 kB / 452.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007113/0.1016, allocations: 277.7 kB / 452.5 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1016, allocations: 0 / 452.5 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1016, allocations: 0 / 452.5 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.1017, allocations: 104.8 kB / 452.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.1017, allocations: 7.922 kB / 452.6 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.102, allocations: 31.91 kB / 452.6 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.1021, allocations: 23.91 kB / 452.6 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001133/0.1032, allocations: 368.7 kB / 453 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001053/0.1043, allocations: 0.5345 MB / 453.5 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003102/0.1046, allocations: 114.9 kB / 453.6 MB, free: 6.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.1048, allocations: 164.5 kB / 453.8 MB, free: 5.902 MB / 334.1 MB Notification: Performance of Backend: time 7.71e-07/0.1048, allocations: 4 kB / 453.8 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.1059, allocations: 292.9 kB / 454.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009299/0.1068, allocations: 0.8397 MB / 454.9 MB, free: 4.711 MB / 334.1 MB Notification: Performance of Templates: time 0.007259/0.1141, allocations: 2.964 MB / 457.9 MB, free: 1.762 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)