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.0104/0.0104, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002144/0.002144, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.696/1.696, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05766/0.05766, allocations: 10.73 MB / 280.6 MB, free: 10.44 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.001701/0.001701, allocations: 78.7 kB / 390.8 MB, free: 5.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3401, allocations: 49.02 MB / 439.9 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003347/0.3435, allocations: 1.87 MB / 441.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3447, allocations: 0.7307 MB / 442.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.3449, allocations: 9.438 kB / 442.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.345, allocations: 27.61 kB / 442.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.3451, allocations: 47.34 kB / 442.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.3455, allocations: 130.1 kB / 442.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.3459, allocations: 297.1 kB / 443 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.3461, allocations: 63.7 kB / 443 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.3463, allocations: 126.8 kB / 443.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.3465, allocations: 118.1 kB / 443.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.032e-05/0.3465, allocations: 21.12 kB / 443.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.459e-05/0.3466, allocations: 25 kB / 443.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.3466, allocations: 48.02 kB / 443.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.3468, allocations: 112.2 kB / 443.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003225/0.3471, allocations: 230 kB / 443.7 MB, free: 2.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3471, allocations: 0.6094 kB / 443.7 MB, free: 2.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3471, allocations: 3.938 kB / 443.7 MB, free: 2.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3471, allocations: 0 / 443.7 MB, free: 2.871 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.001131/0.3483, allocations: 0.614 MB / 444.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3483, allocations: 13.83 kB / 444.3 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.442e-05/0.3484, allocations: 32.69 kB / 444.4 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.3489, allocations: 322.3 kB / 444.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.91e-05/0.349, allocations: 107.5 kB / 444.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/0.349, allocations: 15.38 kB / 444.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.3496, allocations: 208.6 kB / 445 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3496, allocations: 0 / 445 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.3496, allocations: 5.891 kB / 445 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.3497, allocations: 3.875 kB / 445 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006058/0.3503, allocations: 166.4 kB / 445.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.3518, allocations: 0.7175 MB / 445.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005538/0.3524, allocations: 174.8 kB / 446.1 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003162/0.3527, allocations: 92.73 kB / 446.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3527, allocations: 1.891 kB / 446.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/0.3532, allocations: 174.8 kB / 446.3 MB, free: 1.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3532, allocations: 0 / 446.3 MB, free: 1.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001059/0.3543, allocations: 333.7 kB / 446.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.3543, allocations: 54.67 kB / 446.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.3545, allocations: 229 kB / 446.9 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.3546, allocations: 32.34 kB / 446.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.3547, allocations: 152.4 kB / 447.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.3547, allocations: 47.64 kB / 447.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.672e-05/0.3548, allocations: 47.36 kB / 447.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.3549, allocations: 339.7 kB / 447.5 MB, free: 308 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.3552, allocations: 99.06 kB / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.3555, allocations: 129.9 kB / 447.7 MB, free: 184 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005444/0.3561, allocations: 237.5 kB / 448 MB, free: 24 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3561, allocations: 1.031 kB / 448 MB, free: 24 kB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007768/0.3569, allocations: 312.7 kB / 448.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.3569, allocations: 32.64 kB / 448.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.357, allocations: 1.188 kB / 448.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.357, allocations: 5.031 kB / 448.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.3583, allocations: 128.2 kB / 448.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002572/0.3609, allocations: 2.872 MB / 451.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.3612, allocations: 39.38 kB / 451.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.3612, allocations: 10.5 kB / 451.4 MB, free: 12.7 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.0001465/0.3614, allocations: 144.4 kB / 451.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.3614, allocations: 21.77 kB / 451.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007605/0.3622, allocations: 276.4 kB / 451.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3622, allocations: 3.312 kB / 451.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3622, allocations: 0 / 451.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.3622, allocations: 0 / 451.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.3636, allocations: 0.6485 MB / 452.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.3636, allocations: 9.031 kB / 452.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.3649, allocations: 108.7 kB / 452.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.365, allocations: 3.938 kB / 452.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.365, allocations: 5.875 kB / 452.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.365, allocations: 1.969 kB / 452.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.365, allocations: 3.938 kB / 452.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000994/0.366, allocations: 457.1 kB / 453 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.3661, allocations: 102.2 kB / 453.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.3661, allocations: 7.5 kB / 453.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.3664, allocations: 28.47 kB / 453.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3665, allocations: 27.25 kB / 453.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.3665, allocations: 2.281 kB / 453.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.3667, allocations: 158.8 kB / 453.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.425e-06/0.3667, allocations: 0.9688 kB / 453.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.3671, allocations: 54.05 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.000197/0.3673, allocations: 110.4 kB / 453.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009701/0.3683, allocations: 294 kB / 453.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3683, allocations: 0 / 453.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.3687, allocations: 114.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.0003585/0.369, allocations: 32.47 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.001168/0.3702, allocations: 454.7 kB / 454.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.3707, allocations: 0.7474 MB / 455.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.3708, allocations: 31.91 kB / 455.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.122e-05/0.3709, allocations: 24.81 kB / 455.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3709, allocations: 0 / 455.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of Templates: time 0.008669/0.3796, allocations: 2.585 MB / 457.8 MB, free: 8.547 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)