Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_1_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.891/1.891, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.136e-05/4.154e-05, allocations: 0 / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3022, allocations: 38.76 MB / 263.9 MB, free: 9.699 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.435, allocations: 65.98 MB / 329.8 MB, free: 7.629 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.4354, allocations: 63.97 kB / 329.9 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005491/0.4409, allocations: 1.238 MB / 331.1 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.058e-06/0.4409, allocations: 0 / 331.1 MB, free: 6.328 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.4409, allocations: 3.938 kB / 331.1 MB, free: 6.324 MB / 282.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.0006488/0.4416, allocations: 378.3 kB / 331.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4417, allocations: 11.97 kB / 331.5 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.4417, allocations: 38.56 kB / 331.6 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.4418, allocations: 7.906 kB / 331.6 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.4419, allocations: 171 kB / 331.7 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4419, allocations: 4 kB / 331.7 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.442, allocations: 4 kB / 331.7 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.4422, allocations: 69.58 kB / 331.8 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.4422, allocations: 0 / 331.8 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4422, allocations: 0 / 331.8 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.4422, allocations: 0 / 331.8 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.4424, allocations: 32 kB / 331.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.4429, allocations: 300.7 kB / 332.1 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.4431, allocations: 46.56 kB / 332.2 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.554e-05/0.4432, allocations: 20.86 kB / 332.2 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.4432, allocations: 0 / 332.2 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.4432, allocations: 34.56 kB / 332.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.4433, allocations: 0 / 332.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002297/0.4435, allocations: 57.69 kB / 332.3 MB, free: 4.996 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.4435, allocations: 51.41 kB / 332.3 MB, free: 4.934 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/0.4437, allocations: 109 kB / 332.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.4437, allocations: 25.7 kB / 332.5 MB, free: 4.789 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.4438, allocations: 92.06 kB / 332.6 MB, free: 4.695 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.4438, allocations: 15.81 kB / 332.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.4438, allocations: 0 / 332.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.444, allocations: 318.8 kB / 332.9 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.444, allocations: 12 kB / 332.9 MB, free: 4.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.477e-05/0.4441, allocations: 12 kB / 332.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.03e-05/0.4441, allocations: 8 kB / 332.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4441, allocations: 4 kB / 332.9 MB, free: 4.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001664/0.4443, allocations: 65.59 kB / 333 MB, free: 4.254 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4444, allocations: 5.406 kB / 333 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4444, allocations: 4.188 kB / 333 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4444, allocations: 0 / 333 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.4447, allocations: 23.97 kB / 333 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4447, allocations: 7.938 kB / 333 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.4449, allocations: 23.97 kB / 333 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.4449, allocations: 0 / 333 MB, free: 4.191 MB / 282.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 (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 8.999e-05/0.445, allocations: 109.6 kB / 333.2 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.445, allocations: 7.938 kB / 333.2 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.4453, allocations: 73.7 kB / 333.2 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4453, allocations: 4 kB / 333.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4453, allocations: 0 / 333.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4453, allocations: 4 kB / 333.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.4456, allocations: 193.4 kB / 333.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4456, allocations: 0 / 333.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.4459, allocations: 27.97 kB / 333.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.4459, allocations: 0 / 333.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4459, allocations: 0 / 333.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.4459, allocations: 0 / 333.5 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.446, allocations: 4 kB / 333.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.4462, allocations: 167.5 kB / 333.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.4463, allocations: 84.97 kB / 333.7 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.4463, allocations: 7.984 kB / 333.7 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.4466, allocations: 15.98 kB / 333.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.4466, allocations: 4 kB / 333.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.4467, allocations: 4 kB / 333.7 MB, free: 3.395 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.564e-05/0.4467, allocations: 95.56 kB / 333.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4467, allocations: 0 / 333.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000333/0.4471, allocations: 12 kB / 333.8 MB, free: 3.289 MB / 282.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 (6): * Single equations (assignments): 6 * 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.0006213/0.4477, allocations: 0.7202 MB / 334.6 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.4479, allocations: 32 kB / 334.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4479, allocations: 0 / 334.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.448, allocations: 20 kB / 334.6 MB, free: 2.492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.4483, allocations: 11.94 kB / 334.6 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005497/0.4488, allocations: 130.5 kB / 334.8 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.4492, allocations: 0.6926 MB / 335.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.62e-05/0.4493, allocations: 3.984 kB / 335.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.4493, allocations: 19.44 kB / 335.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4493, allocations: 0 / 335.5 MB, free: 1.57 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.472, allocations: 1.654 MB / 337.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003202/0.4724, allocations: 152 kB / 337.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/2.782, allocations: 4.062 kB / 337.3 MB, free: 15.76 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat