Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_2_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.123/2.123, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.097e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3341, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.4743, allocations: 70.65 MB / 364.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000392/0.4748, allocations: 63.98 kB / 364.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007651/0.4824, allocations: 1.249 MB / 366.2 MB, free: 9.879 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4825, allocations: 0 / 366.2 MB, free: 9.879 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.4825, allocations: 0 / 366.2 MB, free: 9.879 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000865/0.4834, allocations: 370.4 kB / 366.5 MB, free: 9.473 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.948e-05/0.4835, allocations: 16.03 kB / 366.6 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.4836, allocations: 0 / 366.6 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.4838, allocations: 178.9 kB / 366.7 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.4839, allocations: 4 kB / 366.7 MB, free: 9.238 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.4839, allocations: 0.6562 kB / 366.7 MB, free: 9.238 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002308/0.4842, allocations: 35.94 kB / 366.8 MB, free: 9.203 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.4844, allocations: 49.69 kB / 366.8 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.4844, allocations: 4 kB / 366.8 MB, free: 9.145 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.4845, allocations: 0 / 366.8 MB, free: 9.145 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.4845, allocations: 0 / 366.8 MB, free: 9.145 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000771/0.4853, allocations: 293.2 kB / 367.1 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.4856, allocations: 50.56 kB / 367.2 MB, free: 8.762 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.4857, allocations: 16.98 kB / 367.2 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.4858, allocations: 4 kB / 367.2 MB, free: 8.738 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.4858, allocations: 38.56 kB / 367.2 MB, free: 8.691 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 3.927e-06/0.4859, allocations: 0 / 367.2 MB, free: 8.691 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003627/0.4862, allocations: 57.69 kB / 367.3 MB, free: 8.629 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.4863, allocations: 51.41 kB / 367.3 MB, free: 8.566 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.4865, allocations: 109 kB / 367.4 MB, free: 8.453 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.4865, allocations: 25.7 kB / 367.5 MB, free: 8.422 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/0.4866, allocations: 99.97 kB / 367.6 MB, free: 8.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.4867, allocations: 7.812 kB / 367.6 MB, free: 8.312 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.4867, allocations: 0 / 367.6 MB, free: 8.312 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4869, allocations: 330.8 kB / 367.9 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/0.4871, allocations: 12 kB / 367.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.52e-05/0.4871, allocations: 8 kB / 367.9 MB, free: 7.961 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.792e-05/0.4873, allocations: 20.19 kB / 367.9 MB, free: 7.941 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.4873, allocations: 0 / 367.9 MB, free: 7.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000274/0.4876, allocations: 61.69 kB / 368 MB, free: 7.875 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.4876, allocations: 8 kB / 368 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4876, allocations: 0 / 368 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.4877, allocations: 0 / 368 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.4881, allocations: 27.97 kB / 368 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.4881, allocations: 3.938 kB / 368 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.4884, allocations: 19.89 kB / 368 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.4884, allocations: 4 kB / 368 MB, free: 7.812 MB / 314.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 (5): * Single equations (assignments): 5 * 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.0001245/0.4886, allocations: 108.7 kB / 368.2 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002584/0.4889, allocations: 65.69 kB / 368.2 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.4889, allocations: 7.906 kB / 368.2 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.4893, allocations: 81.95 kB / 368.3 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4893, allocations: 0 / 368.3 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4893, allocations: 0 / 368.3 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.4894, allocations: 3.953 kB / 368.3 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.4897, allocations: 162.2 kB / 368.5 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/0.4898, allocations: 0 / 368.5 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.4901, allocations: 35.91 kB / 368.5 MB, free: 7.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.4902, allocations: 4 kB / 368.5 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.4902, allocations: 0 / 368.5 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.4902, allocations: 0 / 368.5 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.4902, allocations: 0 / 368.5 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.4906, allocations: 171.4 kB / 368.7 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.4907, allocations: 81.02 kB / 368.7 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.4908, allocations: 0 / 368.7 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.4911, allocations: 27.97 kB / 368.8 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.4912, allocations: 4 kB / 368.8 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.4912, allocations: 4.438 kB / 368.8 MB, free: 6.984 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.4913, allocations: 95.2 kB / 368.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.4914, allocations: 0 / 368.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005176/0.4919, allocations: 16 kB / 368.9 MB, free: 6.875 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 (7): * Single equations (assignments): 7 * 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.0009023/0.4928, allocations: 0.7078 MB / 369.6 MB, free: 6.141 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.4931, allocations: 48 kB / 369.6 MB, free: 6.094 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.4931, allocations: 0 / 369.6 MB, free: 6.094 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.4933, allocations: 27.98 kB / 369.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.4937, allocations: 4 kB / 369.7 MB, free: 6.062 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/0.4945, allocations: 123.2 kB / 369.8 MB, free: 5.902 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.4949, allocations: 0.6963 MB / 370.5 MB, free: 5.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.116e-05/0.495, allocations: 0 / 370.5 MB, free: 5.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.4952, allocations: 19.44 kB / 370.5 MB, free: 5.16 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4952, allocations: 4 kB / 370.5 MB, free: 5.156 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04034/0.5356, allocations: 1.276 MB / 371.8 MB, free: 3.895 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003389/0.536, allocations: 150.7 kB / 371.9 MB, free: 3.691 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.583/3.119, allocations: 0 / 371.9 MB, free: 3.691 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat