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.001143/0.001143, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05588/0.05588, allocations: 10.75 MB / 27.48 MB, free: 1.875 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.287/1.287, allocations: 205.1 MB / 235.7 MB, free: 11.74 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.0009645/0.0009645, allocations: 117.2 kB / 285.5 MB, free: 12.87 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 52.14 kB / 345.3 MB, free: 0.9922 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2298, allocations: 49.01 MB / 394.3 MB, free: 35.59 MB / 298.8 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003204/0.2331, allocations: 1.927 MB / 396.2 MB, free: 33.64 MB / 298.8 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2341, allocations: 0.7314 MB / 397 MB, free: 32.91 MB / 298.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.2342, allocations: 7.938 kB / 397 MB, free: 32.9 MB / 298.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.2344, allocations: 15.8 kB / 397 MB, free: 32.89 MB / 298.8 MB Notification: Performance of NFTyping.typeBindings: time 9.049e-05/0.2344, allocations: 35.67 kB / 397 MB, free: 32.85 MB / 298.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.2348, allocations: 119.9 kB / 397.1 MB, free: 32.73 MB / 298.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.235, allocations: 271.2 kB / 397.4 MB, free: 32.47 MB / 298.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.2351, allocations: 56.95 kB / 397.5 MB, free: 32.42 MB / 298.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2353, allocations: 119.4 kB / 397.6 MB, free: 32.3 MB / 298.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.2354, allocations: 111.4 kB / 397.7 MB, free: 32.19 MB / 298.8 MB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.2355, allocations: 16 kB / 397.7 MB, free: 32.18 MB / 298.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.024e-05/0.2355, allocations: 12 kB / 397.7 MB, free: 32.16 MB / 298.8 MB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.2356, allocations: 43.81 kB / 397.7 MB, free: 32.12 MB / 298.8 MB Notification: Performance of NFVerifyModel.verify: time 9.133e-05/0.2357, allocations: 103.3 kB / 397.8 MB, free: 32.02 MB / 298.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.2358, allocations: 209.3 kB / 398.1 MB, free: 31.82 MB / 298.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2358, allocations: 0 / 398.1 MB, free: 31.82 MB / 298.8 MB Notification: Performance of FrontEnd: time 9.81e-07/0.2359, allocations: 0 / 398.1 MB, free: 31.82 MB / 298.8 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2359, allocations: 0 / 398.1 MB, free: 31.82 MB / 298.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.0009777/0.2368, allocations: 0.6094 MB / 398.7 MB, free: 31.15 MB / 298.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2369, allocations: 8.031 kB / 398.7 MB, free: 31.14 MB / 298.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.237, allocations: 32.64 kB / 398.7 MB, free: 31.11 MB / 298.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.2372, allocations: 298.5 kB / 399 MB, free: 30.78 MB / 298.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/0.2373, allocations: 105.3 kB / 399.1 MB, free: 30.66 MB / 298.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.2373, allocations: 16 kB / 399.1 MB, free: 30.64 MB / 298.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.2378, allocations: 215.6 kB / 399.3 MB, free: 30.43 MB / 298.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2378, allocations: 3.984 kB / 399.3 MB, free: 30.43 MB / 298.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.2378, allocations: 4 kB / 399.3 MB, free: 30.42 MB / 298.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.2378, allocations: 4 kB / 399.3 MB, free: 30.42 MB / 298.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.2383, allocations: 168.4 kB / 399.5 MB, free: 30.25 MB / 298.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.2395, allocations: 0.7146 MB / 400.2 MB, free: 29.49 MB / 298.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.2399, allocations: 174.4 kB / 400.4 MB, free: 29.31 MB / 298.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.2402, allocations: 92.78 kB / 400.5 MB, free: 29.21 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.2402, allocations: 8.188 kB / 400.5 MB, free: 29.21 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003738/0.2406, allocations: 167.2 kB / 400.6 MB, free: 29.03 MB / 298.8 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.2406, allocations: 0 / 400.6 MB, free: 29.03 MB / 298.8 MB Notification: Performance of matching and sorting (n=16): time 0.0009061/0.2415, allocations: 337 kB / 401 MB, free: 28.7 MB / 298.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.2416, allocations: 59.41 kB / 401 MB, free: 28.62 MB / 298.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.2417, allocations: 228.9 kB / 401.3 MB, free: 28.39 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.2418, allocations: 25.7 kB / 401.3 MB, free: 28.36 MB / 298.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.2418, allocations: 156.3 kB / 401.4 MB, free: 28.2 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.2419, allocations: 47.36 kB / 401.5 MB, free: 28.15 MB / 298.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.2419, allocations: 45.69 kB / 401.5 MB, free: 28.1 MB / 298.8 MB Notification: Performance of setup shared object (initialization): time 5.611e-05/0.242, allocations: 338.8 kB / 401.9 MB, free: 27.76 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.2423, allocations: 91.94 kB / 401.9 MB, free: 27.67 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.2426, allocations: 129.2 kB / 402.1 MB, free: 27.54 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/0.2431, allocations: 233.9 kB / 402.3 MB, free: 27.29 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2431, allocations: 0 / 402.3 MB, free: 27.29 MB / 298.8 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007049/0.2438, allocations: 321.1 kB / 402.6 MB, free: 26.96 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.2438, allocations: 33.7 kB / 402.6 MB, free: 26.93 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2438, allocations: 3.984 kB / 402.6 MB, free: 26.92 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2439, allocations: 0 / 402.6 MB, free: 26.92 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.2453, allocations: 124 kB / 402.8 MB, free: 26.8 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.2469, allocations: 2.697 MB / 405.5 MB, free: 23.83 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.2471, allocations: 35.81 kB / 405.5 MB, free: 23.8 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.2471, allocations: 4 kB / 405.5 MB, free: 23.79 MB / 298.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,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.0001201/0.2473, allocations: 138.6 kB / 405.6 MB, free: 23.65 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.2473, allocations: 19.75 kB / 405.7 MB, free: 23.63 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/0.248, allocations: 284.1 kB / 405.9 MB, free: 23.35 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.248, allocations: 4 kB / 405.9 MB, free: 23.34 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.248, allocations: 0 / 405.9 MB, free: 23.34 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.248, allocations: 3.984 kB / 405.9 MB, free: 23.34 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008905/0.2489, allocations: 0.6489 MB / 406.6 MB, free: 22.64 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2489, allocations: 7.984 kB / 406.6 MB, free: 22.63 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.2501, allocations: 103.9 kB / 406.7 MB, free: 22.53 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2501, allocations: 4 kB / 406.7 MB, free: 22.52 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.2501, allocations: 4 kB / 406.7 MB, free: 22.52 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2501, allocations: 0 / 406.7 MB, free: 22.52 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.2502, allocations: 0 / 406.7 MB, free: 22.52 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004911/0.2551, allocations: 2.599 MB / 409.3 MB, free: 19.77 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.2551, allocations: 100.9 kB / 409.4 MB, free: 19.66 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.2552, allocations: 4 kB / 409.4 MB, free: 19.65 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.2554, allocations: 23.97 kB / 409.4 MB, free: 19.63 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.2555, allocations: 27.89 kB / 409.5 MB, free: 19.6 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.2555, allocations: 11.94 kB / 409.5 MB, free: 19.59 MB / 298.8 MB Notification: Performance of sorting global known variables: time 0.000101/0.2556, allocations: 160.5 kB / 409.6 MB, free: 19.43 MB / 298.8 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2556, allocations: 0 / 409.6 MB, free: 19.43 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.0003812/0.256, allocations: 63.84 kB / 409.7 MB, free: 19.37 MB / 298.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,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.0001187/0.2561, allocations: 111.2 kB / 409.8 MB, free: 19.25 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.0008812/0.257, allocations: 293.3 kB / 410.1 MB, free: 18.95 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.257, allocations: 4 kB / 410.1 MB, free: 18.95 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.2573, allocations: 107.9 kB / 410.2 MB, free: 18.84 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.2577, allocations: 28.52 kB / 410.2 MB, free: 18.81 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.2587, allocations: 0.6875 MB / 410.9 MB, free: 18.09 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.2589, allocations: 0.756 MB / 411.7 MB, free: 17.3 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.259, allocations: 34.94 kB / 411.7 MB, free: 17.27 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.2591, allocations: 19.44 kB / 411.7 MB, free: 17.25 MB / 298.8 MB Notification: Performance of SimCode: time 2.3e-07/0.2591, allocations: 0 / 411.7 MB, free: 17.25 MB / 298.8 MB Notification: Performance of Templates: time 0.005545/0.2647, allocations: 2.989 MB / 414.7 MB, free: 14.28 MB / 298.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)