Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 182.5 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.05416/0.05416, allocations: 10.75 MB / 27.48 MB, free: 1.879 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.317/1.317, 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.0009829/0.0009829, allocations: 94.3 kB / 285.5 MB, free: 12.86 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 59.92 kB / 345.3 MB, free: 0.9766 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2572, allocations: 49 MB / 394.3 MB, free: 35.58 MB / 298.8 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.00277/0.26, allocations: 1.816 MB / 396.1 MB, free: 33.75 MB / 298.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009533/0.261, allocations: 0.6343 MB / 396.7 MB, free: 33.11 MB / 298.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.283e-05/0.2611, allocations: 7.938 kB / 396.8 MB, free: 33.1 MB / 298.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.2612, allocations: 11.86 kB / 396.8 MB, free: 33.09 MB / 298.8 MB Notification: Performance of NFTyping.typeBindings: time 7.807e-05/0.2613, allocations: 35.72 kB / 396.8 MB, free: 33.05 MB / 298.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.2615, allocations: 71.92 kB / 396.9 MB, free: 32.98 MB / 298.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.2617, allocations: 191.4 kB / 397.1 MB, free: 32.8 MB / 298.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2618, allocations: 31.8 kB / 397.1 MB, free: 32.77 MB / 298.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.2619, allocations: 83.61 kB / 397.2 MB, free: 32.69 MB / 298.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.2621, allocations: 83.59 kB / 397.3 MB, free: 32.61 MB / 298.8 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.2621, allocations: 12 kB / 397.3 MB, free: 32.59 MB / 298.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.505e-05/0.2621, allocations: 8 kB / 397.3 MB, free: 32.59 MB / 298.8 MB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.2622, allocations: 31.84 kB / 397.3 MB, free: 32.55 MB / 298.8 MB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.2622, allocations: 79.56 kB / 397.4 MB, free: 32.48 MB / 298.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.2624, allocations: 155.4 kB / 397.5 MB, free: 32.32 MB / 298.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2624, allocations: 0 / 397.5 MB, free: 32.32 MB / 298.8 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2624, allocations: 3.938 kB / 397.5 MB, free: 32.32 MB / 298.8 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2624, allocations: 0 / 397.5 MB, free: 32.32 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009836/0.2634, allocations: 0.5761 MB / 398.1 MB, free: 31.68 MB / 298.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2635, allocations: 12.03 kB / 398.1 MB, free: 31.67 MB / 298.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.2635, allocations: 20.66 kB / 398.1 MB, free: 31.65 MB / 298.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.2638, allocations: 258 kB / 398.4 MB, free: 31.36 MB / 298.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.2639, allocations: 63.97 kB / 398.5 MB, free: 31.29 MB / 298.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.2639, allocations: 12.38 kB / 398.5 MB, free: 31.28 MB / 298.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.2643, allocations: 201.7 kB / 398.7 MB, free: 31.07 MB / 298.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2644, allocations: 7.922 kB / 398.7 MB, free: 31.06 MB / 298.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.2644, allocations: 4 kB / 398.7 MB, free: 31.05 MB / 298.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2644, allocations: 4 kB / 398.7 MB, free: 31.05 MB / 298.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005274/0.2649, allocations: 147.8 kB / 398.8 MB, free: 30.91 MB / 298.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000773/0.2657, allocations: 0.6411 MB / 399.5 MB, free: 30.21 MB / 298.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.2663, allocations: 166.4 kB / 399.6 MB, free: 30.04 MB / 298.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.2665, allocations: 76.78 kB / 399.7 MB, free: 29.96 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2666, allocations: 0 / 399.7 MB, free: 29.96 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003946/0.267, allocations: 163.2 kB / 399.9 MB, free: 29.79 MB / 298.8 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.267, allocations: 4 kB / 399.9 MB, free: 29.78 MB / 298.8 MB Notification: Performance of matching and sorting (n=13): time 0.0009207/0.2679, allocations: 299.9 kB / 400.2 MB, free: 29.48 MB / 298.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.268, allocations: 55.41 kB / 400.2 MB, free: 29.42 MB / 298.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.2681, allocations: 203.7 kB / 400.4 MB, free: 29.21 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.2681, allocations: 29.7 kB / 400.4 MB, free: 29.17 MB / 298.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.2682, allocations: 136.2 kB / 400.6 MB, free: 29.03 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.2682, allocations: 31.52 kB / 400.6 MB, free: 29 MB / 298.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.2683, allocations: 53.69 kB / 400.7 MB, free: 28.94 MB / 298.8 MB Notification: Performance of setup shared object (initialization): time 5.36e-05/0.2683, allocations: 326.8 kB / 401 MB, free: 28.61 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.2686, allocations: 95.91 kB / 401.1 MB, free: 28.52 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.269, allocations: 141.9 kB / 401.2 MB, free: 28.36 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/0.2695, allocations: 278.6 kB / 401.5 MB, free: 28.05 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.2695, allocations: 0 / 401.5 MB, free: 28.05 MB / 298.8 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000767/0.2703, allocations: 348.5 kB / 401.8 MB, free: 27.7 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.2703, allocations: 65.73 kB / 401.9 MB, free: 27.62 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.2704, allocations: 0 / 401.9 MB, free: 27.62 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.2704, allocations: 4 kB / 401.9 MB, free: 27.62 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.2708, allocations: 60.02 kB / 402 MB, free: 27.56 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2708, allocations: 8 kB / 402 MB, free: 27.55 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.271, allocations: 43.8 kB / 402 MB, free: 27.51 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.2711, allocations: 8 kB / 402 MB, free: 27.5 MB / 298.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.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): 21 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.254e-05/0.2712, allocations: 141.7 kB / 402.1 MB, free: 27.35 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.2712, allocations: 19.73 kB / 402.2 MB, free: 27.33 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.2712, allocations: 21.53 kB / 402.2 MB, free: 27.31 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2713, allocations: 4 kB / 402.2 MB, free: 27.31 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2713, allocations: 0 / 402.2 MB, free: 27.31 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2713, allocations: 3.984 kB / 402.2 MB, free: 27.3 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.2714, allocations: 241.5 kB / 402.4 MB, free: 27.02 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2714, allocations: 0 / 402.4 MB, free: 27.02 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.2718, allocations: 47.89 kB / 402.5 MB, free: 26.97 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2719, allocations: 7.938 kB / 402.5 MB, free: 26.96 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.2719, allocations: 4 kB / 402.5 MB, free: 26.96 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2719, allocations: 7.984 kB / 402.5 MB, free: 26.95 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2719, allocations: 3.938 kB / 402.5 MB, free: 26.95 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004033/0.2759, allocations: 2.041 MB / 404.5 MB, free: 24.77 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.276, allocations: 100.8 kB / 404.6 MB, free: 24.65 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.276, allocations: 4 kB / 404.6 MB, free: 24.64 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.2762, allocations: 31.95 kB / 404.7 MB, free: 24.61 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.2763, allocations: 27.95 kB / 404.7 MB, free: 24.59 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.2763, allocations: 8 kB / 404.7 MB, free: 24.58 MB / 298.8 MB Notification: Performance of sorting global known variables: time 7.733e-05/0.2764, allocations: 141.5 kB / 404.9 MB, free: 24.44 MB / 298.8 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2764, allocations: 4.062 kB / 404.9 MB, free: 24.44 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.0003063/0.2767, allocations: 52 kB / 404.9 MB, free: 24.39 MB / 298.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001002/0.2768, allocations: 103.2 kB / 405 MB, free: 24.28 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.0006897/0.2775, allocations: 330 kB / 405.3 MB, free: 23.93 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2776, allocations: 0 / 405.3 MB, free: 23.93 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.2779, allocations: 87.92 kB / 405.4 MB, free: 23.85 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.2782, allocations: 35.88 kB / 405.4 MB, free: 23.81 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007306/0.2789, allocations: 0.5127 MB / 406 MB, free: 23.27 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.2791, allocations: 0.7284 MB / 406.7 MB, free: 22.51 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.2792, allocations: 25.53 kB / 406.7 MB, free: 22.48 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.2792, allocations: 15.44 kB / 406.7 MB, free: 22.47 MB / 298.8 MB Notification: Performance of SimCode: time 2.1e-07/0.2792, allocations: 0 / 406.7 MB, free: 22.47 MB / 298.8 MB Notification: Performance of Templates: time 0.004772/0.284, allocations: 2.601 MB / 409.3 MB, free: 19.88 MB / 298.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1)