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.00172/0.00172, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.001791/0.001791, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.646/1.646, 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.05718/0.05718, allocations: 10.74 MB / 281.3 MB, free: 1.32 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.001486/0.001486, allocations: 67.91 kB / 342 MB, free: 4.465 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3226, allocations: 49.01 MB / 391 MB, free: 49.92 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.004435/0.3271, allocations: 1.876 MB / 392.9 MB, free: 48.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3286, allocations: 0.7277 MB / 393.6 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.3289, allocations: 13.34 kB / 393.6 MB, free: 48.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.3291, allocations: 28.89 kB / 393.6 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.3293, allocations: 46.59 kB / 393.7 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.33, allocations: 134.4 kB / 393.8 MB, free: 47.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005935/0.3306, allocations: 283.5 kB / 394.1 MB, free: 47.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002905/0.3309, allocations: 67.98 kB / 394.2 MB, free: 47.81 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.3313, allocations: 124.6 kB / 394.3 MB, free: 47.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003638/0.3316, allocations: 119 kB / 394.4 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.296e-05/0.3317, allocations: 20.62 kB / 394.4 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.429e-05/0.3318, allocations: 20.62 kB / 394.4 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.874e-05/0.3319, allocations: 59.72 kB / 394.5 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.3321, allocations: 100.5 kB / 394.6 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.3326, allocations: 238.9 kB / 394.8 MB, free: 47.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3326, allocations: 0 / 394.8 MB, free: 47.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3326, allocations: 4 kB / 394.8 MB, free: 47.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.3326, allocations: 0 / 394.8 MB, free: 47.47 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.001264/0.3339, allocations: 0.6037 MB / 395.4 MB, free: 46.97 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3339, allocations: 17.7 kB / 395.5 MB, free: 46.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.975e-05/0.334, allocations: 32.27 kB / 395.5 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000531/0.3346, allocations: 317.5 kB / 395.8 MB, free: 46.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.159e-05/0.3347, allocations: 103.1 kB / 395.9 MB, free: 46.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.3347, allocations: 16 kB / 395.9 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005873/0.3353, allocations: 204.9 kB / 396.1 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3353, allocations: 0 / 396.1 MB, free: 46.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.3354, allocations: 6.062 kB / 396.1 MB, free: 46.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.3354, allocations: 3.531 kB / 396.1 MB, free: 46.49 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.336, allocations: 174.8 kB / 396.3 MB, free: 46.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.3374, allocations: 0.7133 MB / 397 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.338, allocations: 165 kB / 397.2 MB, free: 45.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.3383, allocations: 98.39 kB / 397.3 MB, free: 45.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.3383, allocations: 5.406 kB / 397.3 MB, free: 45.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004344/0.3388, allocations: 166.8 kB / 397.4 MB, free: 45.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.552e-06/0.3388, allocations: 3.938 kB / 397.4 MB, free: 45.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001018/0.3398, allocations: 332.1 kB / 397.8 MB, free: 45.69 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.3399, allocations: 54.8 kB / 397.8 MB, free: 45.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.3401, allocations: 233.1 kB / 398 MB, free: 45.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3401, allocations: 36.02 kB / 398.1 MB, free: 45.44 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.3402, allocations: 151.4 kB / 398.2 MB, free: 45.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.3403, allocations: 46.75 kB / 398.3 MB, free: 45.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.3404, allocations: 48.69 kB / 398.3 MB, free: 45.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.3404, allocations: 336.7 kB / 398.7 MB, free: 44.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.3408, allocations: 91.11 kB / 398.7 MB, free: 44.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.3411, allocations: 133.6 kB / 398.9 MB, free: 44.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.3416, allocations: 232.9 kB / 399.1 MB, free: 44.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3416, allocations: 1.469 kB / 399.1 MB, free: 44.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006893/0.3423, allocations: 312 kB / 399.4 MB, free: 44.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.3424, allocations: 34.69 kB / 399.4 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.3424, allocations: 0 / 399.4 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.3424, allocations: 3.203 kB / 399.4 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.3438, allocations: 130.8 kB / 399.6 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.3456, allocations: 2.883 MB / 402.5 MB, free: 41.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.3458, allocations: 35.72 kB / 402.5 MB, free: 41.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.3459, allocations: 14.47 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.000134/0.346, allocations: 135.6 kB / 402.6 MB, free: 41.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.3461, allocations: 23.06 kB / 402.7 MB, free: 41.28 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006688/0.3467, allocations: 278.1 kB / 402.9 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3468, allocations: 2.406 kB / 402.9 MB, free: 41.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.3468, allocations: 3.984 kB / 402.9 MB, free: 41.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3468, allocations: 0 / 402.9 MB, free: 41.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.3478, allocations: 0.6533 MB / 403.6 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3479, allocations: 1.125 kB / 403.6 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.3491, allocations: 104.2 kB / 403.7 MB, free: 40.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3491, allocations: 5.25 kB / 403.7 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.3491, allocations: 5.094 kB / 403.7 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3491, allocations: 1.094 kB / 403.7 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3491, allocations: 3.938 kB / 403.7 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008779/0.35, allocations: 457.8 kB / 404.2 MB, free: 40.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.3501, allocations: 98.02 kB / 404.2 MB, free: 40.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.3501, allocations: 6.531 kB / 404.3 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.3503, allocations: 33 kB / 404.3 MB, free: 40.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.3504, allocations: 26.41 kB / 404.3 MB, free: 40.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3505, allocations: 8.25 kB / 404.3 MB, free: 40.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.3506, allocations: 170.8 kB / 404.5 MB, free: 39.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3506, allocations: 0 / 404.5 MB, free: 39.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000365/0.351, allocations: 43.34 kB / 404.5 MB, free: 39.97 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 0.0001292/0.3511, allocations: 101 kB / 404.6 MB, free: 39.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009728/0.3521, allocations: 294.2 kB / 404.9 MB, free: 39.72 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3521, allocations: 0 / 404.9 MB, free: 39.72 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.3525, allocations: 113.3 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.0003931/0.3529, allocations: 27.8 kB / 405.1 MB, free: 39.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.3539, allocations: 453.6 kB / 405.5 MB, free: 39.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.3541, allocations: 0.755 MB / 406.3 MB, free: 38.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.3543, allocations: 27.72 kB / 406.3 MB, free: 38.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.732e-05/0.3544, allocations: 26.03 kB / 406.3 MB, free: 38.58 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3544, allocations: 0 / 406.3 MB, free: 38.58 MB / 318.1 MB Notification: Performance of Templates: time 0.00716/0.3615, allocations: 2.573 MB / 408.9 MB, free: 37.32 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 cvode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1)