Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.471/2.471, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.079e-05/4.097e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.3996, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.5604, allocations: 84.14 MB / 444 MB, free: 12.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.5607, allocations: 63.97 kB / 444.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02686/0.5876, allocations: 6.046 MB / 450.1 MB, free: 6.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5877, allocations: 0 / 450.1 MB, free: 6.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.5877, allocations: 4 kB / 450.1 MB, free: 6.473 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.000769/0.5885, allocations: 482.4 kB / 450.6 MB, free: 5.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.5885, allocations: 8.688 kB / 450.6 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.5887, allocations: 94.91 kB / 450.7 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.5899, allocations: 67.67 kB / 450.8 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.5901, allocations: 190.7 kB / 451 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.5902, allocations: 20.78 kB / 451 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/0.5903, allocations: 35.94 kB / 451 MB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.5909, allocations: 214.6 kB / 451.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.5909, allocations: 4 kB / 451.2 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.591, allocations: 16 kB / 451.2 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.591, allocations: 11.95 kB / 451.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004371/0.5914, allocations: 141.5 kB / 451.4 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.5929, allocations: 0.6445 MB / 452 MB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008464/0.5938, allocations: 216.5 kB / 452.3 MB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.594, allocations: 65.31 kB / 452.3 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.594, allocations: 4.234 kB / 452.3 MB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.5941, allocations: 35.45 kB / 452.4 MB, free: 4.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 5.02e-06/0.5941, allocations: 0 / 452.4 MB, free: 4.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004898/0.5946, allocations: 156.1 kB / 452.5 MB, free: 3.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.5947, allocations: 63.41 kB / 452.6 MB, free: 3.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.5948, allocations: 89 kB / 452.7 MB, free: 3.758 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.5948, allocations: 29.7 kB / 452.7 MB, free: 3.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.5949, allocations: 152.3 kB / 452.8 MB, free: 3.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.595, allocations: 95.67 kB / 452.9 MB, free: 3.473 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.5951, allocations: 4 kB / 452.9 MB, free: 3.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5952, allocations: 322.8 kB / 453.2 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.5953, allocations: 36 kB / 453.3 MB, free: 3.109 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.5955, allocations: 40 kB / 453.3 MB, free: 3.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.5956, allocations: 39.97 kB / 453.4 MB, free: 3.031 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5957, allocations: 0 / 453.4 MB, free: 3.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003715/0.596, allocations: 166 kB / 453.5 MB, free: 2.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.5961, allocations: 4 kB / 453.5 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5961, allocations: 0 / 453.5 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5961, allocations: 0 / 453.5 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.5969, allocations: 101.4 kB / 453.6 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.5969, allocations: 4 kB / 453.6 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.597, allocations: 19.83 kB / 453.6 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.5971, allocations: 7.984 kB / 453.7 MB, free: 2.73 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.0001104/0.5972, allocations: 120.4 kB / 453.8 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.5973, allocations: 11.86 kB / 453.8 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.213e-05/0.5973, allocations: 21.12 kB / 453.8 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.5974, allocations: 4 kB / 453.8 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5974, allocations: 4 kB / 453.8 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.5974, allocations: 3.984 kB / 453.8 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.5979, allocations: 285.7 kB / 454.1 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5979, allocations: 0 / 454.1 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007027/0.5986, allocations: 103.9 kB / 454.2 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.5986, allocations: 0 / 454.2 MB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.5987, allocations: 15.95 kB / 454.2 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.5987, allocations: 1.781 kB / 454.2 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.5987, allocations: 0 / 454.2 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.5991, allocations: 251.4 kB / 454.5 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.5992, allocations: 92.86 kB / 454.6 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.5992, allocations: 11.94 kB / 454.6 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.5994, allocations: 15.94 kB / 454.6 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.5995, allocations: 19.98 kB / 454.6 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.5995, allocations: 4 kB / 454.6 MB, free: 1.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.789e-05/0.5996, allocations: 83.28 kB / 454.7 MB, free: 1.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5996, allocations: 0 / 454.7 MB, free: 1.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004196/0.6, allocations: 55.69 kB / 454.7 MB, free: 1.562 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.001013/0.6011, allocations: 0.8495 MB / 455.6 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.6014, allocations: 119.9 kB / 455.7 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6015, allocations: 0 / 455.7 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.6016, allocations: 71.92 kB / 455.8 MB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.6019, allocations: 8.516 kB / 455.8 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.6029, allocations: 330.6 kB / 456.1 MB, free: 136 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.6034, allocations: 0.7516 MB / 456.9 MB, free: 15.35 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00019/0.6036, allocations: 17.19 kB / 456.9 MB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.6038, allocations: 71.41 kB / 456.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6038, allocations: 0 / 456.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.6306, allocations: 2.325 MB / 459.3 MB, free: 13.02 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003286/0.631, allocations: 144.3 kB / 459.4 MB, free: 12.79 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/2.822, allocations: 0 / 459.4 MB, free: 12.79 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat