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.001136/0.001136, allocations: 105.9 kB / 16.27 MB, free: 6.41 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.001114/0.001114, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.241/1.241, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05694/0.05694, allocations: 10.74 MB / 281.2 MB, free: 1.359 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.001501/0.001501, allocations: 71.89 kB / 341.2 MB, free: 5.188 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2057, allocations: 49 MB / 390.2 MB, free: 49.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002703/0.2084, allocations: 1.876 MB / 392.1 MB, free: 48.33 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2095, allocations: 0.729 MB / 392.8 MB, free: 47.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.2096, allocations: 9.094 kB / 392.8 MB, free: 47.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.2098, allocations: 28.56 kB / 392.9 MB, free: 47.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.626e-05/0.2099, allocations: 42.97 kB / 392.9 MB, free: 47.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.2103, allocations: 139.7 kB / 393 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.2105, allocations: 287.3 kB / 393.3 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.2107, allocations: 63.94 kB / 393.4 MB, free: 47.53 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.2108, allocations: 123.9 kB / 393.5 MB, free: 47.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.211, allocations: 121.9 kB / 393.6 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.211, allocations: 22 kB / 393.6 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.716e-05/0.2111, allocations: 20.62 kB / 393.7 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.346e-05/0.2111, allocations: 56.06 kB / 393.7 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.236e-05/0.2112, allocations: 117 kB / 393.8 MB, free: 47.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.2115, allocations: 218.6 kB / 394 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2115, allocations: 0 / 394 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2115, allocations: 1.094 kB / 394 MB, free: 47.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2115, allocations: 0 / 394 MB, free: 47.2 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.001026/0.2125, allocations: 0.6105 MB / 394.7 MB, free: 46.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2126, allocations: 13.52 kB / 394.7 MB, free: 46.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.2126, allocations: 28.25 kB / 394.7 MB, free: 46.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.2129, allocations: 299.8 kB / 395 MB, free: 46.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.213, allocations: 108.3 kB / 395.1 MB, free: 46.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.2131, allocations: 16.56 kB / 395.1 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.2136, allocations: 203.2 kB / 395.3 MB, free: 46.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.2136, allocations: 0 / 395.3 MB, free: 46.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.2136, allocations: 6.406 kB / 395.3 MB, free: 46.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.2136, allocations: 3.812 kB / 395.3 MB, free: 46.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000543/0.2142, allocations: 170.2 kB / 395.5 MB, free: 46.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.2155, allocations: 0.723 MB / 396.2 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005287/0.216, allocations: 170.5 kB / 396.4 MB, free: 45.63 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.2163, allocations: 92.72 kB / 396.5 MB, free: 45.6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.2163, allocations: 1.188 kB / 396.5 MB, free: 45.6 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000464/0.2168, allocations: 172.5 kB / 396.6 MB, free: 45.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/0.2168, allocations: 0 / 396.6 MB, free: 45.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009998/0.2178, allocations: 324.5 kB / 396.9 MB, free: 45.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.2179, allocations: 59.02 kB / 397 MB, free: 45.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.2181, allocations: 230 kB / 397.2 MB, free: 45.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2181, allocations: 31.05 kB / 397.3 MB, free: 45.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.2182, allocations: 152 kB / 397.4 MB, free: 45.03 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.2182, allocations: 48.12 kB / 397.5 MB, free: 44.99 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.2183, allocations: 47.45 kB / 397.5 MB, free: 44.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.2183, allocations: 335.3 kB / 397.8 MB, free: 44.64 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.2187, allocations: 100.4 kB / 397.9 MB, free: 44.61 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.219, allocations: 131.1 kB / 398.1 MB, free: 44.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.2195, allocations: 231.5 kB / 398.3 MB, free: 44.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2195, allocations: 0 / 398.3 MB, free: 44.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007227/0.2203, allocations: 312.3 kB / 398.6 MB, free: 44.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.2203, allocations: 36.94 kB / 398.6 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2203, allocations: 1.469 kB / 398.6 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2203, allocations: 2.344 kB / 398.6 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.2218, allocations: 123.6 kB / 398.7 MB, free: 44.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.2236, allocations: 2.888 MB / 401.6 MB, free: 41.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.2239, allocations: 37.7 kB / 401.7 MB, free: 41.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.2239, allocations: 9.5 kB / 401.7 MB, free: 41.25 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.0001314/0.224, allocations: 145.2 kB / 401.8 MB, free: 41.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.2241, allocations: 22.22 kB / 401.8 MB, free: 41.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006929/0.2248, allocations: 277.1 kB / 402.1 MB, free: 40.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2248, allocations: 2.531 kB / 402.1 MB, free: 40.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.2248, allocations: 4 kB / 402.1 MB, free: 40.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2248, allocations: 7.297 kB / 402.1 MB, free: 40.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009613/0.2258, allocations: 0.6389 MB / 402.8 MB, free: 40.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2258, allocations: 0 / 402.8 MB, free: 40.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.2271, allocations: 111.7 kB / 402.9 MB, free: 40.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2271, allocations: 1.25 kB / 402.9 MB, free: 40.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.2271, allocations: 5.688 kB / 402.9 MB, free: 40.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2271, allocations: 1.438 kB / 402.9 MB, free: 40.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2271, allocations: 3.938 kB / 402.9 MB, free: 40.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009137/0.228, allocations: 457.6 kB / 403.3 MB, free: 40.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.2281, allocations: 102.4 kB / 403.4 MB, free: 40.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.2281, allocations: 6.188 kB / 403.4 MB, free: 40.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.2284, allocations: 24.86 kB / 403.5 MB, free: 40 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.2285, allocations: 25.91 kB / 403.5 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.2285, allocations: 8.797 kB / 403.5 MB, free: 39.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.2286, allocations: 162.2 kB / 403.7 MB, free: 39.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2286, allocations: 1.031 kB / 403.7 MB, free: 39.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.229, allocations: 42.88 kB / 403.7 MB, free: 39.86 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.986e-05/0.2291, allocations: 109.4 kB / 403.8 MB, free: 39.76 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009663/0.23, allocations: 303.8 kB / 404.1 MB, free: 39.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2301, allocations: 5.438 kB / 404.1 MB, free: 39.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.2304, allocations: 110.7 kB / 404.2 MB, free: 39.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.2307, allocations: 34.72 kB / 404.3 MB, free: 39.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009233/0.2317, allocations: 486 kB / 404.7 MB, free: 39.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.2318, allocations: 0.7544 MB / 405.5 MB, free: 38.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/0.2319, allocations: 29.86 kB / 405.5 MB, free: 38.41 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2319, allocations: 0 / 405.5 MB, free: 38.41 MB / 318.1 MB Notification: Performance of Templates: time 0.005178/0.2371, allocations: 3.798 MB / 409.3 MB, free: 36.42 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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1)