Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.523/2.523, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.972e-05/3.973e-05, allocations: 0 / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4419, allocations: 54.85 MB / 359.9 MB, free: 2.684 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.604, allocations: 84.14 MB / 444 MB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.6043, allocations: 66.69 kB / 444.1 MB, free: 12.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02665/0.6309, allocations: 6.046 MB / 450.1 MB, free: 6.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.631, allocations: 0 / 450.1 MB, free: 6.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.631, allocations: 4 kB / 450.1 MB, free: 6.645 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.0007535/0.6318, allocations: 487.1 kB / 450.6 MB, free: 6.125 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.6318, allocations: 12.03 kB / 450.6 MB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.632, allocations: 86.92 kB / 450.7 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.6331, allocations: 67.67 kB / 450.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.6333, allocations: 190.7 kB / 450.9 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.6334, allocations: 24.78 kB / 451 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.627e-05/0.6334, allocations: 47.55 kB / 451 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.634, allocations: 214.2 kB / 451.2 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.634, allocations: 0 / 451.2 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.6341, allocations: 8 kB / 451.2 MB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.6341, allocations: 11.95 kB / 451.2 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.6345, allocations: 141.5 kB / 451.4 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.636, allocations: 0.6484 MB / 452 MB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008373/0.6369, allocations: 216.5 kB / 452.2 MB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.637, allocations: 61.33 kB / 452.3 MB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.6371, allocations: 240 / 452.3 MB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.6371, allocations: 38.8 kB / 452.3 MB, free: 4.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.687e-06/0.6371, allocations: 4 kB / 452.3 MB, free: 4.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004758/0.6376, allocations: 160 kB / 452.5 MB, free: 4.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.6377, allocations: 55.41 kB / 452.5 MB, free: 4.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.851e-05/0.6378, allocations: 95.62 kB / 452.6 MB, free: 3.922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.6378, allocations: 33.7 kB / 452.7 MB, free: 3.883 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.638, allocations: 214.7 kB / 452.9 MB, free: 3.668 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.6381, allocations: 94.64 kB / 453 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.6381, allocations: 4 kB / 453 MB, free: 3.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6383, allocations: 322.8 kB / 453.3 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.6384, allocations: 36 kB / 453.3 MB, free: 3.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.6385, allocations: 36 kB / 453.4 MB, free: 3.176 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.6387, allocations: 47.95 kB / 453.4 MB, free: 3.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6387, allocations: 0 / 453.4 MB, free: 3.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003723/0.6391, allocations: 158.2 kB / 453.6 MB, free: 2.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.6391, allocations: 5.719 kB / 453.6 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6391, allocations: 3.984 kB / 453.6 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6392, allocations: 0 / 453.6 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007427/0.6399, allocations: 99.94 kB / 453.7 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.6399, allocations: 4 kB / 453.7 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.6401, allocations: 15.84 kB / 453.7 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.6401, allocations: 8 kB / 453.7 MB, free: 2.836 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.000104/0.6402, allocations: 116.3 kB / 453.8 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.6403, allocations: 15.77 kB / 453.8 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/0.6404, allocations: 33.11 kB / 453.9 MB, free: 2.672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.6404, allocations: 4 kB / 453.9 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6404, allocations: 0 / 453.9 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.6404, allocations: 0 / 453.9 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.6409, allocations: 285.4 kB / 454.1 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6409, allocations: 0 / 454.1 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007359/0.6416, allocations: 99.89 kB / 454.2 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.6417, allocations: 0 / 454.2 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.6417, allocations: 8.984 kB / 454.2 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.6417, allocations: 7.984 kB / 454.3 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6417, allocations: 0 / 454.3 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.6421, allocations: 251.4 kB / 454.5 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.434e-05/0.6422, allocations: 93.2 kB / 454.6 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.6423, allocations: 7.938 kB / 454.6 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.6424, allocations: 19.95 kB / 454.6 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.6425, allocations: 15.97 kB / 454.6 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.6425, allocations: 8 kB / 454.6 MB, free: 1.805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.492e-05/0.6426, allocations: 83.28 kB / 454.7 MB, free: 1.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6426, allocations: 0 / 454.7 MB, free: 1.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003978/0.643, allocations: 52.34 kB / 454.8 MB, free: 1.672 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.000896/0.6439, allocations: 0.8533 MB / 455.6 MB, free: 0.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000337/0.6443, allocations: 127.9 kB / 455.7 MB, free: 0.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6443, allocations: 0 / 455.7 MB, free: 0.668 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.6445, allocations: 63.94 kB / 455.8 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.6447, allocations: 8.984 kB / 455.8 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.6457, allocations: 359.8 kB / 456.2 MB, free: 208 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.6461, allocations: 0.7516 MB / 456.9 MB, free: 15.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.6463, allocations: 67.42 kB / 457 MB, free: 15.36 MB / 394.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6463, allocations: 0 / 457 MB, free: 15.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.532/3.179, allocations: 2.537 MB / 459.5 MB, free: 12.82 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat