Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.024e-05/4.032e-05, allocations: 6.031 kB / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 50.41 MB / 342.6 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4747/0.5909, allocations: 76.75 MB / 419.4 MB, free: 1.066 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.5912, allocations: 65.28 kB / 419.4 MB, free: 1.035 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005999/0.5972, allocations: 1.344 MB / 420.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5973, allocations: 3.938 kB / 420.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.5973, allocations: 4 kB / 420.8 MB, free: 15.86 MB / 346.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.000734/0.598, allocations: 377.7 kB / 421.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.5981, allocations: 12.03 kB / 421.2 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.5982, allocations: 37.42 kB / 421.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.5982, allocations: 15.95 kB / 421.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.5984, allocations: 170 kB / 421.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.5984, allocations: 0 / 421.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.5985, allocations: 4 kB / 421.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.5987, allocations: 63.19 kB / 421.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5987, allocations: 0 / 421.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.5987, allocations: 0 / 421.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.5987, allocations: 11.94 kB / 421.5 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.5989, allocations: 26.75 kB / 421.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.5995, allocations: 311.3 kB / 421.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.5997, allocations: 49.31 kB / 421.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.216e-05/0.5998, allocations: 28.56 kB / 421.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.5998, allocations: 0 / 421.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.5998, allocations: 33.75 kB / 421.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.924e-06/0.5998, allocations: 4 kB / 421.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002605/0.6001, allocations: 63.72 kB / 422 MB, free: 14.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.6002, allocations: 55.34 kB / 422 MB, free: 14.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.6003, allocations: 104.4 kB / 422.1 MB, free: 14.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.6003, allocations: 29.7 kB / 422.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.6004, allocations: 91.34 kB / 422.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.6005, allocations: 19.12 kB / 422.3 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/0.6005, allocations: 0 / 422.3 MB, free: 14.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.6006, allocations: 322.2 kB / 422.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.465e-05/0.6007, allocations: 11.25 kB / 422.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.281e-05/0.6007, allocations: 19.55 kB / 422.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.737e-05/0.6008, allocations: 11.56 kB / 422.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6008, allocations: 0 / 422.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001787/0.601, allocations: 70.39 kB / 422.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.6011, allocations: 4 kB / 422.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6011, allocations: 0 / 422.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6011, allocations: 0 / 422.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.6014, allocations: 31.92 kB / 422.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6014, allocations: 0 / 422.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.6016, allocations: 23.88 kB / 422.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.6016, allocations: 0 / 422.8 MB, free: 13.81 MB / 346.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 8.493e-05/0.6017, allocations: 108.8 kB / 422.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.6017, allocations: 7.938 kB / 422.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.602, allocations: 90.25 kB / 423 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.602, allocations: 0 / 423 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.602, allocations: 0 / 423 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.6021, allocations: 0 / 423 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.6023, allocations: 190.3 kB / 423.1 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.6024, allocations: 4 kB / 423.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.6026, allocations: 27.92 kB / 423.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6026, allocations: 4 kB / 423.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.6027, allocations: 7.328 kB / 423.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6027, allocations: 0 / 423.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6027, allocations: 4 kB / 423.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.6029, allocations: 164.6 kB / 423.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.603, allocations: 85 kB / 423.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.603, allocations: 4 kB / 423.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.6033, allocations: 26.69 kB / 423.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.6034, allocations: 3.984 kB / 423.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.6034, allocations: 4 kB / 423.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.569e-05/0.6035, allocations: 91.03 kB / 423.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6035, allocations: 0 / 423.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003271/0.6038, allocations: 15.81 kB / 423.6 MB, free: 12.95 MB / 346.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.0006088/0.6044, allocations: 0.7218 MB / 424.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.6046, allocations: 50.23 kB / 424.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6047, allocations: 0 / 424.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.442e-05/0.6048, allocations: 26.75 kB / 424.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.605, allocations: 8.5 kB / 424.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.6056, allocations: 131.5 kB / 424.5 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.6058, allocations: 0.6887 MB / 425.2 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.623e-05/0.6059, allocations: 4 kB / 425.2 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.606, allocations: 22.8 kB / 425.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of SimCode: time 8.41e-07/0.606, allocations: 0 / 425.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.6298, allocations: 1.73 MB / 427 MB, free: 9.602 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003214/0.6302, allocations: 152.8 kB / 427.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/3.099, allocations: 4 kB / 427.1 MB, free: 9.379 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat