Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.153/2.153, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.52e-05/3.525e-05, allocations: 4 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5233/0.6294, allocations: 89.49 MB / 406.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.6297, allocations: 70.91 kB / 406.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1966/0.8263, allocations: 35.48 MB / 442.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.8263, allocations: 4 kB / 442.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.746e-05/0.8265, allocations: 12 kB / 442.1 MB, free: 15.48 MB / 362.7 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.003743/0.8302, allocations: 0.8196 MB / 442.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.199e-05/0.8303, allocations: 8.031 kB / 442.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.8305, allocations: 44.8 kB / 442.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/0.8309, allocations: 50.44 kB / 443 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.8326, allocations: 456.3 kB / 443.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.8327, allocations: 15.72 kB / 443.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.8328, allocations: 26.28 kB / 443.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009471/0.8338, allocations: 321.5 kB / 443.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.8338, allocations: 0 / 443.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/0.8339, allocations: 10.56 kB / 443.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.834, allocations: 0 / 443.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/0.8346, allocations: 131.9 kB / 443.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.8374, allocations: 0.6932 MB / 444.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.8386, allocations: 304.1 kB / 444.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.8389, allocations: 105.5 kB / 445 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.8389, allocations: 8.172 kB / 445 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/0.839, allocations: 34.06 kB / 445.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 5.039e-06/0.839, allocations: 8.375 kB / 445.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008968/0.8399, allocations: 283.4 kB / 445.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002333/0.8402, allocations: 363.8 kB / 445.7 MB, free: 12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/0.8408, allocations: 352 kB / 446 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-05/0.841, allocations: 33.64 kB / 446.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.8412, allocations: 193.3 kB / 446.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.8413, allocations: 88.33 kB / 446.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.8413, allocations: 7.938 kB / 446.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.8415, allocations: 352.2 kB / 446.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.8421, allocations: 195.6 kB / 446.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/0.8427, allocations: 295.8 kB / 447.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005754/0.8433, allocations: 235.7 kB / 447.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.8433, allocations: 3.953 kB / 447.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001999/0.8454, allocations: 0.6089 MB / 448 MB, free: 10.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.8455, allocations: 4 kB / 448 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.704e-05/0.8456, allocations: 15.8 kB / 448 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.8468, allocations: 124.5 kB / 448.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008885/0.8477, allocations: 67.2 kB / 448.2 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008778/0.8566, allocations: 4.217 MB / 452.5 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008681/0.8575, allocations: 58.86 kB / 452.5 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.8577, allocations: 19.73 kB / 452.5 MB, free: 5.418 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002852/0.858, allocations: 123.7 kB / 452.6 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.8582, allocations: 35.53 kB / 452.7 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.8584, allocations: 48.67 kB / 452.7 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.8584, allocations: 4 kB / 452.7 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.8585, allocations: 7.938 kB / 452.7 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.413e-06/0.8585, allocations: 0 / 452.7 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000887/0.8594, allocations: 350.2 kB / 453.1 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.8594, allocations: 0 / 453.1 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009748/0.8604, allocations: 35.98 kB / 453.1 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.8604, allocations: 0 / 453.1 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.62e-05/0.8605, allocations: 15.8 kB / 453.1 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.8606, allocations: 3.953 kB / 453.1 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8606, allocations: 0 / 453.1 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.8622, allocations: 499.1 kB / 453.6 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.8624, allocations: 112.6 kB / 453.7 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.8626, allocations: 9.875 kB / 453.7 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.8631, allocations: 23.44 kB / 453.8 MB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.8632, allocations: 15.97 kB / 453.8 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.8633, allocations: 4 kB / 453.8 MB, free: 4.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007001/0.864, allocations: 263 kB / 454 MB, free: 4.047 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.182e-06/0.864, allocations: 0 / 454 MB, free: 4.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004609/0.8687, allocations: 0.7016 MB / 454.7 MB, free: 3.363 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.006602/0.8753, allocations: 1.634 MB / 456.4 MB, free: 1.809 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.8786, allocations: 0.9018 MB / 457.3 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/0.8787, allocations: 7.938 kB / 457.3 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005143/0.8792, allocations: 112.3 kB / 457.4 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.8805, allocations: 106.2 kB / 457.5 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.886, allocations: 1.055 MB / 458.6 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008085/0.8869, allocations: 0.8519 MB / 459.4 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006231/0.8876, allocations: 62.92 kB / 459.5 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/0.888, allocations: 131.8 kB / 459.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.683e-06/0.888, allocations: 0 / 459.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08086/0.9689, allocations: 18.71 MB / 478.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003418/0.9693, allocations: 185.7 kB / 478.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.343/4.312, allocations: 0 / 478.5 MB, free: 11.98 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat