Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.096/2.096, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.32e-05/4.298e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 50.41 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5533, allocations: 76.36 MB / 419 MB, free: 1.801 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006178/0.554, allocations: 62.34 kB / 419.1 MB, free: 1.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0111/0.5652, allocations: 1.509 MB / 420.6 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd: time 3.997e-06/0.5652, allocations: 0 / 420.6 MB, free: 460 kB / 330.7 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.5652, allocations: 2.953 kB / 420.6 MB, free: 460 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000614/0.5659, allocations: 373.4 kB / 420.9 MB, free: 44 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5659, allocations: 12.03 kB / 420.9 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.722e-05/0.566, allocations: 34.55 kB / 421 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.566, allocations: 4 kB / 421 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.5662, allocations: 174.9 kB / 421.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.5662, allocations: 6.562 kB / 421.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.5663, allocations: 8.734 kB / 421.2 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.5665, allocations: 62.75 kB / 421.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.5665, allocations: 0 / 421.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.5665, allocations: 3.953 kB / 421.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.5665, allocations: 4 kB / 421.2 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.5666, allocations: 26.98 kB / 421.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.5669, allocations: 191.5 kB / 421.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.5671, allocations: 66.8 kB / 421.5 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.5672, allocations: 37.44 kB / 421.6 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.5672, allocations: 0 / 421.6 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.5672, allocations: 38.56 kB / 421.6 MB, free: 15.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.5672, allocations: 0 / 421.6 MB, free: 15.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002576/0.5675, allocations: 75.61 kB / 421.7 MB, free: 15.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.5676, allocations: 102.8 kB / 421.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.5677, allocations: 116.4 kB / 421.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.5678, allocations: 29.8 kB / 421.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.5678, allocations: 91.19 kB / 422 MB, free: 14.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.5679, allocations: 15.25 kB / 422 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.5679, allocations: 0 / 422 MB, free: 14.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.568, allocations: 326.6 kB / 422.3 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.5681, allocations: 14.94 kB / 422.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.5682, allocations: 26.45 kB / 422.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.664e-05/0.5683, allocations: 19.92 kB / 422.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5683, allocations: 0 / 422.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002042/0.5685, allocations: 73.03 kB / 422.5 MB, free: 14.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5685, allocations: 4 kB / 422.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.5685, allocations: 4 kB / 422.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5686, allocations: 0 / 422.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.5688, allocations: 28.06 kB / 422.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.5689, allocations: 3.953 kB / 422.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.5691, allocations: 15.98 kB / 422.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.5691, allocations: 0 / 422.5 MB, free: 14.31 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.361e-05/0.5692, allocations: 108.4 kB / 422.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.5693, allocations: 7.906 kB / 422.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.5693, allocations: 10.7 kB / 422.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.5693, allocations: 8 kB / 422.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5693, allocations: 0 / 422.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.5693, allocations: 3.953 kB / 422.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.5695, allocations: 176.9 kB / 422.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.5696, allocations: 0 / 422.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.5698, allocations: 27.91 kB / 422.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.5698, allocations: 0 / 422.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.5698, allocations: 7.938 kB / 422.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5698, allocations: 4 kB / 422.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5699, allocations: 0 / 422.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.5701, allocations: 127.9 kB / 423 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.5702, allocations: 81.11 kB / 423.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.5702, allocations: 4 kB / 423.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.5704, allocations: 19.94 kB / 423.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.5705, allocations: 8.062 kB / 423.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.5705, allocations: 4 kB / 423.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.14e-05/0.5706, allocations: 103.6 kB / 423.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5706, allocations: 0 / 423.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000285/0.5709, allocations: 12 kB / 423.2 MB, free: 13.54 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006482/0.5716, allocations: 0.8045 MB / 424 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.5718, allocations: 39.61 kB / 424.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5718, allocations: 3.938 kB / 424.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.227e-05/0.5719, allocations: 22 kB / 424.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.5721, allocations: 3.938 kB / 424.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007542/0.5728, allocations: 155.1 kB / 424.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.5732, allocations: 0.6926 MB / 424.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.252e-05/0.5733, allocations: 0 / 424.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.614e-05/0.5734, allocations: 25.3 kB / 425 MB, free: 11.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5734, allocations: 0 / 425 MB, free: 11.74 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.5936, allocations: 1.385 MB / 426.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003057/0.594, allocations: 152.1 kB / 426.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/3.054, allocations: 0 / 426.5 MB, free: 10.2 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat does not exist to compare? outputFormat=mat