Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 103.6 kB / 16.35 MB, free: 6.289 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.001077/0.001077, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.431/1.431, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05984/0.05984, allocations: 10.75 MB / 281.3 MB, free: 1.305 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.001516/0.001516, allocations: 71.89 kB / 342 MB, free: 4.445 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2949, allocations: 49 MB / 391 MB, free: 49.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002827/0.2978, allocations: 1.823 MB / 392.8 MB, free: 48.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.2988, allocations: 0.6516 MB / 393.5 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.299, allocations: 8.406 kB / 393.5 MB, free: 48.19 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2991, allocations: 27.34 kB / 393.5 MB, free: 48.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.582e-05/0.2992, allocations: 30.61 kB / 393.5 MB, free: 48.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.2997, allocations: 102.8 kB / 393.6 MB, free: 48.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.3, allocations: 228.9 kB / 393.8 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.3002, allocations: 65.38 kB / 393.9 MB, free: 47.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3004, allocations: 92.62 kB / 394 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.3005, allocations: 99.77 kB / 394.1 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.3006, allocations: 20.44 kB / 394.1 MB, free: 47.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.365e-05/0.3006, allocations: 17.88 kB / 394.1 MB, free: 47.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/0.3007, allocations: 44.64 kB / 394.2 MB, free: 47.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.492e-05/0.3008, allocations: 96.67 kB / 394.3 MB, free: 47.76 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.301, allocations: 190.4 kB / 394.5 MB, free: 47.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.301, allocations: 0 / 394.5 MB, free: 47.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.301, allocations: 1.375 kB / 394.5 MB, free: 47.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.3011, allocations: 0.6094 kB / 394.5 MB, free: 47.68 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009604/0.302, allocations: 0.5731 MB / 395 MB, free: 47.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3021, allocations: 17.77 kB / 395.1 MB, free: 47.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.3021, allocations: 25.91 kB / 395.1 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.3025, allocations: 295.3 kB / 395.4 MB, free: 46.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.503e-05/0.3026, allocations: 97.98 kB / 395.5 MB, free: 46.81 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.3027, allocations: 14.38 kB / 395.5 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.3031, allocations: 193.7 kB / 395.7 MB, free: 46.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3031, allocations: 0 / 395.7 MB, free: 46.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.3031, allocations: 6.266 kB / 395.7 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.3032, allocations: 6.75 kB / 395.7 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.3036, allocations: 141.1 kB / 395.8 MB, free: 46.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/0.3046, allocations: 0.57 MB / 396.4 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.3051, allocations: 137 kB / 396.5 MB, free: 46.24 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.3054, allocations: 78.8 kB / 396.6 MB, free: 46.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.3054, allocations: 1.406 kB / 396.6 MB, free: 46.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003641/0.3058, allocations: 157 kB / 396.8 MB, free: 46.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.3058, allocations: 0 / 396.8 MB, free: 46.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008725/0.3066, allocations: 269.3 kB / 397 MB, free: 46.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.3067, allocations: 53.98 kB / 397.1 MB, free: 45.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.3069, allocations: 209.2 kB / 397.3 MB, free: 45.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3069, allocations: 31.78 kB / 397.3 MB, free: 45.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.317e-05/0.307, allocations: 147.4 kB / 397.4 MB, free: 45.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.307, allocations: 39.95 kB / 397.5 MB, free: 45.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.633e-05/0.3071, allocations: 44.64 kB / 397.5 MB, free: 45.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.769e-05/0.3072, allocations: 333.9 kB / 397.9 MB, free: 45.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.3075, allocations: 75.98 kB / 397.9 MB, free: 45.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.3078, allocations: 114.2 kB / 398 MB, free: 45.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004822/0.3082, allocations: 202.5 kB / 398.2 MB, free: 45.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3083, allocations: 0 / 398.2 MB, free: 45.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006218/0.3089, allocations: 270 kB / 398.5 MB, free: 44.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.3089, allocations: 41.11 kB / 398.5 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3089, allocations: 1.219 kB / 398.5 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.309, allocations: 2.281 kB / 398.5 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006736/0.3096, allocations: 67.92 kB / 398.6 MB, free: 44.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3096, allocations: 5.031 kB / 398.6 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.3099, allocations: 41.03 kB / 398.7 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.3099, allocations: 7.016 kB / 398.7 MB, free: 44.93 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 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,FOaw.ts,$whenCondition2,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.057e-05/0.31, allocations: 131.6 kB / 398.8 MB, free: 44.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.31, allocations: 16.86 kB / 398.8 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.3101, allocations: 19.72 kB / 398.8 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3101, allocations: 1.375 kB / 398.8 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3101, allocations: 1.531 kB / 398.8 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3101, allocations: 0.7969 kB / 398.8 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.3103, allocations: 284.4 kB / 399.1 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3103, allocations: 0 / 399.1 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/0.3111, allocations: 71.95 kB / 399.2 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3111, allocations: 0.9062 kB / 399.2 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.3112, allocations: 7.109 kB / 399.2 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.3112, allocations: 4.547 kB / 399.2 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.3112, allocations: 4 kB / 399.2 MB, free: 44.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000799/0.312, allocations: 309.9 kB / 399.5 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.312, allocations: 93.55 kB / 399.6 MB, free: 44.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.3121, allocations: 1.219 kB / 399.6 MB, free: 44.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.3122, allocations: 25.66 kB / 399.6 MB, free: 44.26 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.3123, allocations: 20.22 kB / 399.6 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.3123, allocations: 3.469 kB / 399.6 MB, free: 44.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.395e-05/0.3124, allocations: 147.9 kB / 399.8 MB, free: 44.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3124, allocations: 0 / 399.8 MB, free: 44.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.3127, allocations: 39.47 kB / 399.8 MB, free: 44.12 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.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 (12): * Single equations (assignments): 9 * 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.236e-05/0.3128, allocations: 117.1 kB / 399.9 MB, free: 44.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005581/0.3133, allocations: 231.7 kB / 400.2 MB, free: 43.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3134, allocations: 0 / 400.2 MB, free: 43.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.3136, allocations: 92.78 kB / 400.3 MB, free: 43.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.3139, allocations: 30.34 kB / 400.3 MB, free: 43.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007435/0.3146, allocations: 370.1 kB / 400.6 MB, free: 43.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.3148, allocations: 0.7342 MB / 401.4 MB, free: 42.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.889e-05/0.3149, allocations: 20.52 kB / 401.4 MB, free: 42.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.315, allocations: 22.12 kB / 401.4 MB, free: 42.81 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.315, allocations: 0 / 401.4 MB, free: 42.81 MB / 318.1 MB Notification: Performance of Templates: time 0.004949/0.32, allocations: 1.972 MB / 403.4 MB, free: 41.83 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1)