Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_2_cs_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.523/2.523, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.714e-05/2.72e-05, allocations: 1.594 kB / 249.8 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4561/0.5607, allocations: 71.98 MB / 366.3 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.561, allocations: 67.98 kB / 366.3 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01868/0.5797, allocations: 3.611 MB / 369.9 MB, free: 22.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5798, allocations: 0 / 369.9 MB, free: 22.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.5798, allocations: 0 / 369.9 MB, free: 22.57 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.003812/0.5836, allocations: 0.6448 MB / 370.6 MB, free: 22.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.5837, allocations: 9.812 kB / 370.6 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.5838, allocations: 15.44 kB / 370.6 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.584, allocations: 179.5 kB / 370.8 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.5841, allocations: 3.875 kB / 370.8 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.5841, allocations: 15.69 kB / 370.8 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005567/0.5847, allocations: 164.7 kB / 371 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.5851, allocations: 145.1 kB / 371.1 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.5851, allocations: 1.219 kB / 371.1 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.5852, allocations: 0 / 371.1 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.5852, allocations: 6.656 kB / 371.1 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.5867, allocations: 0.5047 MB / 371.6 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.5872, allocations: 162.7 kB / 371.8 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.5874, allocations: 81.8 kB / 371.9 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.47e-05/0.5874, allocations: 9.406 kB / 371.9 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.5875, allocations: 39.05 kB / 371.9 MB, free: 21.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.905e-06/0.5875, allocations: 0 / 371.9 MB, free: 21.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005839/0.5881, allocations: 177.2 kB / 372.1 MB, free: 21.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.5881, allocations: 55.28 kB / 372.1 MB, free: 21.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.5883, allocations: 129 kB / 372.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.5883, allocations: 29.7 kB / 372.3 MB, free: 21.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.5884, allocations: 122.8 kB / 372.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.5885, allocations: 44.86 kB / 372.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.5885, allocations: 0 / 372.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5886, allocations: 324 kB / 372.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.5888, allocations: 58.77 kB / 372.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.589, allocations: 80.83 kB / 372.9 MB, free: 20.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.5892, allocations: 75.5 kB / 373 MB, free: 20.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5893, allocations: 0 / 373 MB, free: 20.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005179/0.5898, allocations: 194 kB / 373.2 MB, free: 20.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.5898, allocations: 7.719 kB / 373.2 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5898, allocations: 2.391 kB / 373.2 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.5899, allocations: 3.781 kB / 373.2 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/0.5904, allocations: 43.45 kB / 373.2 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.5904, allocations: 0 / 373.2 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.5907, allocations: 14.55 kB / 373.2 MB, free: 20.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.5908, allocations: 14.33 kB / 373.3 MB, free: 20.78 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001297/0.5909, allocations: 112.6 kB / 373.4 MB, free: 20.66 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004842/0.5914, allocations: 168.8 kB / 373.5 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.5915, allocations: 15.44 kB / 373.5 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006967/0.5922, allocations: 229.6 kB / 373.8 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.5922, allocations: 0 / 373.8 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.5922, allocations: 3.875 kB / 373.8 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.5923, allocations: 3.938 kB / 373.8 MB, free: 20.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.5927, allocations: 249.4 kB / 374 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.5927, allocations: 2.766 kB / 374 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.5933, allocations: 38.16 kB / 374.1 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.5933, allocations: 5.297 kB / 374.1 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.5933, allocations: 7.844 kB / 374.1 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.5933, allocations: 1.344 kB / 374.1 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5934, allocations: 0 / 374.1 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.594, allocations: 297 kB / 374.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/0.5941, allocations: 92.64 kB / 374.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.5941, allocations: 0 / 374.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.5945, allocations: 17.16 kB / 374.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.823e-05/0.5946, allocations: 20.25 kB / 374.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.5946, allocations: 6.547 kB / 374.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.5948, allocations: 111.8 kB / 374.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5948, allocations: 0 / 374.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005223/0.5953, allocations: 40.22 kB / 374.6 MB, free: 20.05 MB / 314.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001019/0.5963, allocations: 0.8378 MB / 375.5 MB, free: 19.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004665/0.5968, allocations: 154.9 kB / 375.6 MB, free: 19.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5969, allocations: 0 / 375.6 MB, free: 19.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.5971, allocations: 92.14 kB / 375.7 MB, free: 19.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.5975, allocations: 10.84 kB / 375.7 MB, free: 19.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.5986, allocations: 277 kB / 376 MB, free: 19.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.599, allocations: 0.7278 MB / 376.7 MB, free: 18.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002734/0.5993, allocations: 35.33 kB / 376.8 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.5995, allocations: 52.23 kB / 376.8 MB, free: 18.51 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5995, allocations: 0 / 376.8 MB, free: 18.51 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04463/0.6441, allocations: 2.805 MB / 379.6 MB, free: 18.33 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002979/0.6445, allocations: 148.8 kB / 379.8 MB, free: 18.14 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.816/3.461, allocations: 4 kB / 379.8 MB, free: 18.14 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat