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.227/2.227, allocations: 235 MB / 247.2 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.864e-05/3.873e-05, allocations: 4 kB / 305 MB, free: 5.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3913, allocations: 54.85 MB / 359.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.5418, allocations: 84.13 MB / 444 MB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.5421, allocations: 65.11 kB / 444 MB, free: 12.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02553/0.5676, allocations: 6.039 MB / 450.1 MB, free: 6.637 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5677, allocations: 0 / 450.1 MB, free: 6.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.5677, allocations: 4 kB / 450.1 MB, free: 6.633 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.0007207/0.5684, allocations: 494.2 kB / 450.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.5685, allocations: 8.578 kB / 450.6 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.5687, allocations: 90.95 kB / 450.7 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.5698, allocations: 71.62 kB / 450.7 MB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.5699, allocations: 194.8 kB / 450.9 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.57, allocations: 20.78 kB / 451 MB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.717e-05/0.5701, allocations: 35.5 kB / 451 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.5706, allocations: 219.8 kB / 451.2 MB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.5706, allocations: 3.938 kB / 451.2 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.5707, allocations: 12 kB / 451.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.5707, allocations: 11.95 kB / 451.2 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004075/0.5711, allocations: 147.1 kB / 451.4 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.5725, allocations: 0.6444 MB / 452 MB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008304/0.5734, allocations: 224.7 kB / 452.2 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.5736, allocations: 62.92 kB / 452.3 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.5736, allocations: 4.234 kB / 452.3 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.5736, allocations: 30.8 kB / 452.3 MB, free: 4.219 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.915e-06/0.5737, allocations: 0 / 452.3 MB, free: 4.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004467/0.5741, allocations: 167.8 kB / 452.5 MB, free: 4.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.5742, allocations: 55.41 kB / 452.5 MB, free: 3.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.535e-05/0.5743, allocations: 93 kB / 452.6 MB, free: 3.887 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.5743, allocations: 29.7 kB / 452.7 MB, free: 3.852 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/0.5744, allocations: 152.3 kB / 452.8 MB, free: 3.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.535e-05/0.5745, allocations: 90.64 kB / 452.9 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-05/0.5745, allocations: 8 kB / 452.9 MB, free: 3.598 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5747, allocations: 318.8 kB / 453.2 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.5748, allocations: 36 kB / 453.3 MB, free: 3.242 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.5749, allocations: 44 kB / 453.3 MB, free: 3.199 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.5751, allocations: 39.97 kB / 453.3 MB, free: 3.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5751, allocations: 0 / 453.3 MB, free: 3.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003779/0.5755, allocations: 166.1 kB / 453.5 MB, free: 2.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.5755, allocations: 4.844 kB / 453.5 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5755, allocations: 0 / 453.5 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.5756, allocations: 0 / 453.5 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007172/0.5763, allocations: 99.94 kB / 453.6 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.5763, allocations: 4 kB / 453.6 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.5764, allocations: 19.75 kB / 453.6 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.5765, allocations: 7.281 kB / 453.6 MB, free: 2.863 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.0001031/0.5766, allocations: 120.9 kB / 453.8 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.5766, allocations: 11.86 kB / 453.8 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.328e-05/0.5767, allocations: 25.88 kB / 453.8 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.5767, allocations: 8 kB / 453.8 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.5768, allocations: 0 / 453.8 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5768, allocations: 0 / 453.8 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.5772, allocations: 285.4 kB / 454.1 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5773, allocations: 0 / 454.1 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000686/0.578, allocations: 99.88 kB / 454.2 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.578, allocations: 0 / 454.2 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.578, allocations: 12.7 kB / 454.2 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.578, allocations: 4.797 kB / 454.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.578, allocations: 0 / 454.2 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.5785, allocations: 251.3 kB / 454.4 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.5785, allocations: 96.95 kB / 454.5 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.5786, allocations: 4 kB / 454.5 MB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.5787, allocations: 11.95 kB / 454.5 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.5788, allocations: 23.97 kB / 454.6 MB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.5788, allocations: 4.844 kB / 454.6 MB, free: 1.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.152e-05/0.5789, allocations: 83.28 kB / 454.7 MB, free: 1.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5789, allocations: 0 / 454.7 MB, free: 1.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000377/0.5793, allocations: 59.59 kB / 454.7 MB, free: 1.695 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.0008575/0.5801, allocations: 0.8612 MB / 455.6 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.5805, allocations: 115.9 kB / 455.7 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5805, allocations: 0 / 455.7 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.5807, allocations: 71.92 kB / 455.8 MB, free: 0.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.5809, allocations: 15.44 kB / 455.8 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/0.5818, allocations: 325.2 kB / 456.1 MB, free: 264 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.5822, allocations: 0.7555 MB / 456.8 MB, free: 15.47 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.5824, allocations: 13.2 kB / 456.9 MB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.5825, allocations: 67.42 kB / 456.9 MB, free: 15.39 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5826, allocations: 0 / 456.9 MB, free: 15.39 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.608, allocations: 2.329 MB / 459.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/0.6084, allocations: 157.6 kB / 459.4 MB, free: 12.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.245/2.853, allocations: 0 / 459.4 MB, free: 12.9 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