Running command: "" <> buildModelFMU(Modelica_LinearSystems2.Controller.Examples.Interpolator,fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2_Controller_Examples_Interpolator",fmuType="me",version="2.0",platforms={"static"}) Notification: Skipped loading package DymolaCommands (1.8,default) using MODELICAPATH /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/omlibrary:/var/lib/hudson/.openmodelica/libraries/ (uses-annotation may be wrong). Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.998/2.998, allocations: 271.7 MB / 283.8 MB, free: 15.78 MB / 234.7 MB Notification: Skipped loading package DymolaCommands (1.8,default) using MODELICAPATH /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/omlibrary:/var/lib/hudson/.openmodelica/libraries/ (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 4.219 kB / 346.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3854, allocations: 59.46 MB / 405.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.5481, allocations: 87.76 MB / 493.5 MB, free: 5.699 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo:6:3-7:74:writable] Warning: classDirectory() is a non-standard operator that was replaced by Modelica.Utilities.Files.loadResource(uri) before it was added to the language specification. Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004282/0.5486, allocations: 79.95 kB / 493.6 MB, free: 5.621 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_LinearSystems2 2.4.0/package.mo:6:3-7:74:writable] Warning: classDirectory() is a non-standard operator that was replaced by Modelica.Utilities.Files.loadResource(uri) before it was added to the language specification. Notification: Performance of FrontEnd - DAE generated: time 0.03237/0.581, allocations: 7.33 MB / 0.4892 GB, free: 14.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5811, allocations: 0 / 0.4892 GB, free: 14.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.747e-05/0.5811, allocations: 8 kB / 0.4892 GB, free: 14.24 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001415/0.5825, allocations: 0.5481 MB / 0.4897 GB, free: 13.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5826, allocations: 8.031 kB / 0.4897 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.5827, allocations: 58.53 kB / 0.4898 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.5828, allocations: 31.62 kB / 0.4898 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.5835, allocations: 318.7 kB / 0.4901 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.5835, allocations: 20.44 kB / 0.4901 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/0.5836, allocations: 27.98 kB / 0.4902 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008331/0.5845, allocations: 364.4 kB / 0.4905 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.5845, allocations: 4 kB / 0.4905 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/0.5846, allocations: 12 kB / 0.4905 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.5846, allocations: 4 kB / 0.4905 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.5851, allocations: 156.6 kB / 0.4907 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.5871, allocations: 1.362 MB / 0.492 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008231/0.5879, allocations: 364.3 kB / 0.4923 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.5883, allocations: 136.8 kB / 0.4925 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.5883, allocations: 4.531 kB / 0.4925 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000604/0.589, allocations: 253.4 kB / 0.4927 GB, free: 10.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=39): time 3.386e-06/0.589, allocations: 0 / 0.4927 GB, free: 10.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.001203/0.5902, allocations: 438.6 kB / 0.4931 GB, free: 9.918 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.5903, allocations: 114.8 kB / 0.4933 GB, free: 9.781 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.5907, allocations: 233 kB / 0.4935 GB, free: 9.543 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-05/0.5908, allocations: 49.69 kB / 0.4935 GB, free: 9.488 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.5909, allocations: 152.7 kB / 0.4937 GB, free: 9.336 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.5911, allocations: 90.89 kB / 0.4938 GB, free: 9.246 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.5911, allocations: 12 kB / 0.4938 GB, free: 9.234 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5913, allocations: 350.7 kB / 0.4941 GB, free: 8.883 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.5917, allocations: 129.1 kB / 0.4942 GB, free: 8.754 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.5922, allocations: 268.8 kB / 0.4945 GB, free: 8.441 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.5926, allocations: 172.4 kB / 0.4946 GB, free: 8.277 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5926, allocations: 0 / 0.4946 GB, free: 8.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001086/0.5937, allocations: 460.8 kB / 0.4951 GB, free: 7.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.5938, allocations: 10.66 kB / 0.4951 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5938, allocations: 4 kB / 0.4951 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.5938, allocations: 8.375 kB / 0.4951 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.5943, allocations: 75.84 kB / 0.4952 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/0.5944, allocations: 11.94 kB / 0.4952 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.5947, allocations: 35.73 kB / 0.4952 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.5948, allocations: 24 kB / 0.4952 GB, free: 7.656 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: interpolator3.discreteInterpolator.sampleIn:DISCRETE(fixed = false protected = true ) type: Boolean interpolator2.discreteInterpolator.sampleIn:DISCRETE(fixed = false protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.interpolator3.discreteInterpolator.ticks,interpolator3.discreteInterpolator.ticks,$PRE.interpolator2.discreteInterpolator.ticks,interpolator2.discreteInterpolator.ticks,$whenCondition5,$PRE.interpolator3.discreteInterpolator.sampleIn,interpolator3.discreteInterpolator.sampleIn,$whenCondition3,$PRE.interpolator2.discreteInterpolator.sampleIn,interpolator2.discreteInterpolator.sampleIn,$whenCondition7,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,sampleClock.sampleTrigger,interpolator2.discreteInterpolator.outputSampleTrigger,$PRE.interpolator2.discreteInterpolator.outputTicks,interpolator2.discreteInterpolator.outputTicks,interpolator3.discreteInterpolator.outputSampleTrigger,$PRE.interpolator3.discreteInterpolator.outputTicks,interpolator3.discreteInterpolator.outputTicks,$PRE.interpolator3.discreteFIR.ticks,interpolator3.discreteFIR.ticks,interpolator3.discreteFIR.sampleTrigger,$PRE.sampler.discretePart.ticks,sampler.discretePart.ticks,sampler.discretePart.sampleTrigger,$PRE.interpolator2.discreteInterpolator.y,interpolator2.discreteInterpolator.y,$PRE.interpolator2.discreteInterpolator.pre_u,interpolator2.discreteInterpolator.pre_u,$PRE.interpolator3.discreteInterpolator.y,interpolator3.discreteInterpolator.y,$PRE.interpolator3.discreteInterpolator.pre_u,interpolator3.discreteInterpolator.pre_u,interpolator3.discreteFIR.u_sampled,$PRE.interpolator3.discreteFIR.x[1],interpolator3.discreteFIR.x[1],$PRE.interpolator3.discreteFIR.x[2],interpolator3.discreteFIR.x[2],$PRE.interpolator3.discreteFIR.x[3],interpolator3.discreteFIR.x[3],$PRE.interpolator3.discreteFIR.x[4],interpolator3.discreteFIR.x[4],interpolator3.discreteFIR.sum[1],interpolator3.discreteFIR.sum[2],interpolator3.discreteFIR.sum[3],interpolator3.discreteFIR.sum[4],interpolator3.discreteFIR.y_sampled,sampler.discretePart.u_sampled,interpolator3.discreteInterpolator.inputOutputSampleFactor,interpolator2.discreteInterpolator.inputOutputSampleFactor,sampler.discretePart.cont,sampler.cont,interpolator3.discreteFIR.cont,interpolator3.discreteInterpolator.cont,interpolator3.cont,interpolator2.discreteInterpolator.cont,interpolator2.cont,interpolator1.cont) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003132/0.5951, allocations: 189.7 kB / 0.4954 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.5952, allocations: 31.7 kB / 0.4955 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.943e-05/0.5953, allocations: 27.09 kB / 0.4955 GB, free: 7.402 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5953, allocations: 4 kB / 0.4955 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.5953, allocations: 7.984 kB / 0.4955 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.5953, allocations: 0 / 0.4955 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.5975, allocations: 0.9554 MB / 0.4964 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.5975, allocations: 0 / 0.4964 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.5976, allocations: 23.92 kB / 0.4964 GB, free: 6.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.5977, allocations: 0 / 0.4964 GB, free: 6.352 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/0.5977, allocations: 11.98 kB / 0.4965 GB, free: 6.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.5977, allocations: 3.984 kB / 0.4965 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5977, allocations: 3.953 kB / 0.4965 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.5989, allocations: 0.5262 MB / 0.497 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.599, allocations: 100.8 kB / 0.4971 GB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.5992, allocations: 23.98 kB / 0.4971 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.5996, allocations: 31.97 kB / 0.4971 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-05/0.5997, allocations: 35.91 kB / 0.4972 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.5998, allocations: 19.97 kB / 0.4972 GB, free: 5.562 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002544/0.6001, allocations: 177.3 kB / 0.4974 GB, free: 5.391 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6001, allocations: 0 / 0.4974 GB, free: 5.391 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005753/0.6007, allocations: 83.83 kB / 0.4974 GB, free: 5.309 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 35 (interpolator2.discreteInterpolator.outputSampleTrigger,interpolator3.discreteInterpolator.outputSampleTrigger,interpolator3.discreteFIR.sampleTrigger,sampler.discretePart.sampleTrigger,sampleClock.sampleTrigger,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,interpolator2.discreteInterpolator.y,interpolator2.discreteInterpolator.outputTicks,interpolator2.discreteInterpolator.ticks,interpolator2.discreteInterpolator.pre_u,interpolator2.discreteInterpolator.sampleIn,interpolator3.discreteInterpolator.y,interpolator3.discreteInterpolator.outputTicks,interpolator3.discreteInterpolator.ticks,interpolator3.discreteInterpolator.pre_u,interpolator3.discreteInterpolator.sampleIn,interpolator3.discreteFIR.u_sampled,interpolator3.discreteFIR.ticks,interpolator3.discreteFIR.x[1],interpolator3.discreteFIR.x[2],interpolator3.discreteFIR.x[3],interpolator3.discreteFIR.x[4],interpolator3.discreteFIR.sum[1],interpolator3.discreteFIR.sum[2],interpolator3.discreteFIR.sum[3],interpolator3.discreteFIR.sum[4],interpolator3.discreteFIR.y_sampled,sampler.discretePart.u_sampled,sampler.discretePart.ticks) * Number of discrete states: 14 (sampler.discretePart.ticks,interpolator3.discreteFIR.ticks,interpolator3.discreteFIR.u,interpolator3.discreteFIR.x[1],interpolator3.discreteFIR.x[2],interpolator3.discreteFIR.x[3],interpolator3.discreteInterpolator.outputTicks,interpolator3.discreteInterpolator.ticks,interpolator3.discreteInterpolator.u,interpolator3.discreteInterpolator.pre_u,interpolator2.discreteInterpolator.outputTicks,interpolator2.discreteInterpolator.ticks,interpolator2.discreteInterpolator.u,interpolator2.discreteInterpolator.pre_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001618/0.6023, allocations: 1.114 MB / 0.4985 GB, free: 4.168 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009102/0.6032, allocations: 335.7 kB / 0.4988 GB, free: 3.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6032, allocations: 0 / 0.4988 GB, free: 3.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.6036, allocations: 164.6 kB / 0.499 GB, free: 3.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007387/0.6044, allocations: 83.69 kB / 0.4991 GB, free: 3.602 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.6058, allocations: 460.7 kB / 0.4995 GB, free: 3.117 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.6063, allocations: 0.7661 MB / 0.5003 GB, free: 2.328 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.6065, allocations: 51.44 kB / 0.5003 GB, free: 2.277 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.6067, allocations: 91.41 kB / 0.5004 GB, free: 2.188 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6067, allocations: 0 / 0.5004 GB, free: 2.188 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.6419, allocations: 7.04 MB / 0.5073 GB, free: 11.28 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/0.6423, allocations: 179.9 kB / 0.5074 GB, free: 11.04 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.035, allocations: 4 kB / 0.5075 GB, free: 11.04 MB / 442.7 MB