Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.647/2.647, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.723e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3831, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.5512, allocations: 83.47 MB / 437.9 MB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.5515, allocations: 63.97 kB / 438 MB, free: 11.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03062/0.5821, allocations: 6.001 MB / 444 MB, free: 5.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5822, allocations: 7.938 kB / 444 MB, free: 5.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.5822, allocations: 4 kB / 444 MB, free: 5.406 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008127/0.5831, allocations: 486.8 kB / 444.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.5831, allocations: 12.03 kB / 444.5 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.5846, allocations: 63.62 kB / 444.5 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.5848, allocations: 186.8 kB / 444.7 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.5849, allocations: 8 kB / 444.7 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.5849, allocations: 20 kB / 444.7 MB, free: 4.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004636/0.5854, allocations: 121.1 kB / 444.9 MB, free: 4.445 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.5859, allocations: 147.8 kB / 445 MB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.5859, allocations: 3.984 kB / 445 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.586, allocations: 0 / 445 MB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.586, allocations: 11.95 kB / 445 MB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.5874, allocations: 0.5337 MB / 445.6 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009558/0.5884, allocations: 203.2 kB / 445.7 MB, free: 3.496 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.5886, allocations: 57.27 kB / 445.8 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.718e-05/0.5887, allocations: 4.234 kB / 445.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.5887, allocations: 38.78 kB / 445.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.066e-06/0.5887, allocations: 0 / 445.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004627/0.5892, allocations: 144.1 kB / 446 MB, free: 3.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.5893, allocations: 55.41 kB / 446 MB, free: 3.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.5894, allocations: 93 kB / 446.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.5894, allocations: 25.7 kB / 446.2 MB, free: 3.047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.5895, allocations: 136.2 kB / 446.3 MB, free: 2.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.5897, allocations: 86.66 kB / 446.4 MB, free: 2.824 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.5897, allocations: 0 / 446.4 MB, free: 2.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5899, allocations: 326.8 kB / 446.7 MB, free: 2.496 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.59, allocations: 32 kB / 446.7 MB, free: 2.465 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.5901, allocations: 36 kB / 446.8 MB, free: 2.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.5903, allocations: 39.97 kB / 446.8 MB, free: 2.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5903, allocations: 0 / 446.8 MB, free: 2.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003765/0.5907, allocations: 134.2 kB / 446.9 MB, free: 2.254 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.5907, allocations: 4 kB / 446.9 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5907, allocations: 0 / 446.9 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.5908, allocations: 7.984 kB / 446.9 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008589/0.5917, allocations: 107.9 kB / 447 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.5917, allocations: 0 / 447 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.5918, allocations: 11.84 kB / 447.1 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.5919, allocations: 8 kB / 447.1 MB, free: 2.117 MB / 378.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 (27): * Single equations (assignments): 27 * 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.0001115/0.592, allocations: 109.1 kB / 447.2 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003877/0.5924, allocations: 137.5 kB / 447.3 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.5925, allocations: 11.81 kB / 447.3 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.186e-05/0.5925, allocations: 33.67 kB / 447.4 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.5926, allocations: 0 / 447.4 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5926, allocations: 0 / 447.4 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.5926, allocations: 4 kB / 447.4 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.593, allocations: 218 kB / 447.6 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.593, allocations: 0 / 447.6 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008418/0.5939, allocations: 99.88 kB / 447.7 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.5939, allocations: 4 kB / 447.7 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.5939, allocations: 3.938 kB / 447.7 MB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.594, allocations: 4 kB / 447.7 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.594, allocations: 0 / 447.7 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.5944, allocations: 243.3 kB / 447.9 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.5945, allocations: 89.2 kB / 448 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.5945, allocations: 0 / 448 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.5947, allocations: 11.98 kB / 448 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/0.5948, allocations: 19.98 kB / 448 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.5948, allocations: 4 kB / 448 MB, free: 1.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.859e-05/0.5949, allocations: 83.28 kB / 448.1 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5949, allocations: 0 / 448.1 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004709/0.5954, allocations: 39.75 kB / 448.2 MB, free: 0.9414 MB / 378.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 (27): * Single equations (assignments): 27 * 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.0009193/0.5963, allocations: 0.8338 MB / 449 MB, free: 84 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003596/0.5967, allocations: 108 kB / 449.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5967, allocations: 0 / 449.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.5969, allocations: 67.88 kB / 449.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.5972, allocations: 0.625 kB / 449.2 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.5982, allocations: 282.4 kB / 449.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.5986, allocations: 0.7397 MB / 450.2 MB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.5989, allocations: 21.19 kB / 450.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.599, allocations: 59.41 kB / 450.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5991, allocations: 0 / 450.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04285/0.6419, allocations: 1.991 MB / 452.3 MB, free: 12.77 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003539/0.6423, allocations: 133.5 kB / 452.4 MB, free: 12.58 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.533/3.175, allocations: 0 / 452.4 MB, free: 12.58 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat