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.00166/0.00166, allocations: 106.3 kB / 16.36 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.001462/0.001462, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.63/1.63, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05621/0.05621, allocations: 10.74 MB / 281.3 MB, free: 1.297 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.001439/0.001439, allocations: 72.12 kB / 342 MB, free: 4.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3002, allocations: 49.01 MB / 391 MB, free: 49.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.003317/0.3036, allocations: 1.817 MB / 392.8 MB, free: 48.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.3049, allocations: 0.6536 MB / 393.5 MB, free: 48.24 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.305, allocations: 8.031 kB / 393.5 MB, free: 48.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.3052, allocations: 25.44 kB / 393.5 MB, free: 48.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.886e-05/0.3053, allocations: 37.58 kB / 393.5 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.3057, allocations: 103.7 kB / 393.6 MB, free: 48.13 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.306, allocations: 224.7 kB / 393.9 MB, free: 48.03 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.3062, allocations: 65.19 kB / 393.9 MB, free: 48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.3064, allocations: 96 kB / 394 MB, free: 47.95 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.3066, allocations: 96.86 kB / 394.1 MB, free: 47.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.3066, allocations: 21.88 kB / 394.1 MB, free: 47.9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.534e-05/0.3067, allocations: 16.5 kB / 394.1 MB, free: 47.9 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.3067, allocations: 40.55 kB / 394.2 MB, free: 47.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.3069, allocations: 104.7 kB / 394.3 MB, free: 47.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.3072, allocations: 187.1 kB / 394.5 MB, free: 47.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3072, allocations: 0 / 394.5 MB, free: 47.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.3072, allocations: 0 / 394.5 MB, free: 47.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.3072, allocations: 0.7969 kB / 394.5 MB, free: 47.72 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.001158/0.3084, allocations: 0.5692 MB / 395 MB, free: 47.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.3084, allocations: 17.42 kB / 395.1 MB, free: 47.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.714e-05/0.3085, allocations: 26.41 kB / 395.1 MB, free: 47.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.309, allocations: 299.8 kB / 395.4 MB, free: 46.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.869e-05/0.3091, allocations: 93.08 kB / 395.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.3092, allocations: 15.89 kB / 395.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.3097, allocations: 189.1 kB / 395.7 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3097, allocations: 4 kB / 395.7 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.3098, allocations: 10.12 kB / 395.7 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.3098, allocations: 3.031 kB / 395.7 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005173/0.3103, allocations: 139.7 kB / 395.8 MB, free: 46.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3114, allocations: 0.5634 MB / 396.4 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.3119, allocations: 148.3 kB / 396.5 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.3122, allocations: 75.3 kB / 396.6 MB, free: 46.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.3122, allocations: 0.9688 kB / 396.6 MB, free: 46.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004177/0.3127, allocations: 152.3 kB / 396.7 MB, free: 46.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.3127, allocations: 0 / 396.7 MB, free: 46.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009664/0.3136, allocations: 269.2 kB / 397 MB, free: 46.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3137, allocations: 58.89 kB / 397.1 MB, free: 46.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.3139, allocations: 205.2 kB / 397.3 MB, free: 45.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3139, allocations: 30.89 kB / 397.3 MB, free: 45.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.833e-05/0.314, allocations: 146.8 kB / 397.4 MB, free: 45.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.3141, allocations: 39.97 kB / 397.5 MB, free: 45.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.3141, allocations: 42.75 kB / 397.5 MB, free: 45.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.3142, allocations: 337.3 kB / 397.9 MB, free: 45.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.3145, allocations: 79.12 kB / 397.9 MB, free: 45.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.3148, allocations: 106 kB / 398 MB, free: 45.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.3153, allocations: 206.9 kB / 398.2 MB, free: 45.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3153, allocations: 7.938 kB / 398.2 MB, free: 45.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006388/0.3159, allocations: 274.4 kB / 398.5 MB, free: 45.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.316, allocations: 32.31 kB / 398.5 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.316, allocations: 1.781 kB / 398.5 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.316, allocations: 2.094 kB / 398.5 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.3167, allocations: 72.19 kB / 398.6 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3167, allocations: 1.094 kB / 398.6 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3169, allocations: 37.42 kB / 398.7 MB, free: 44.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.3169, allocations: 5.062 kB / 398.7 MB, free: 44.98 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 0.000111/0.3171, allocations: 140.9 kB / 398.8 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.3171, allocations: 15.81 kB / 398.8 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.3172, allocations: 20.3 kB / 398.8 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3172, allocations: 6.031 kB / 398.8 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3172, allocations: 1.25 kB / 398.8 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3172, allocations: 0.7969 kB / 398.8 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.3175, allocations: 279.5 kB / 399.1 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3175, allocations: 1.219 kB / 399.1 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/0.3182, allocations: 66.69 kB / 399.2 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3182, allocations: 5.781 kB / 399.2 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3182, allocations: 5.781 kB / 399.2 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.3182, allocations: 1.406 kB / 399.2 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3183, allocations: 4.5 kB / 399.2 MB, free: 44.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.3191, allocations: 318.9 kB / 399.5 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.3191, allocations: 88.89 kB / 399.6 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.3192, allocations: 4.031 kB / 399.6 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.3193, allocations: 26.25 kB / 399.6 MB, free: 44.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/0.3194, allocations: 19.12 kB / 399.6 MB, free: 44.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.3195, allocations: 3.594 kB / 399.6 MB, free: 44.26 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.3196, allocations: 151.9 kB / 399.8 MB, free: 44.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3196, allocations: 1.125 kB / 399.8 MB, free: 44.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.3198, allocations: 38.62 kB / 399.8 MB, free: 44.14 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 0.0001303/0.32, allocations: 104 kB / 399.9 MB, free: 44.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005849/0.3206, allocations: 238.3 kB / 400.2 MB, free: 43.9 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3206, allocations: 0 / 400.2 MB, free: 43.9 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.3209, allocations: 81.5 kB / 400.2 MB, free: 43.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.3211, allocations: 34.41 kB / 400.3 MB, free: 43.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.3219, allocations: 373.8 kB / 400.6 MB, free: 43.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.3221, allocations: 0.7344 MB / 401.4 MB, free: 42.85 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.395e-05/0.3222, allocations: 23.92 kB / 401.4 MB, free: 42.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/0.3223, allocations: 22.09 kB / 401.4 MB, free: 42.83 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3223, allocations: 0 / 401.4 MB, free: 42.83 MB / 318.1 MB Notification: Performance of Templates: time 0.005144/0.3274, allocations: 1.965 MB / 403.4 MB, free: 41.85 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 cvode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1)