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.633/2.633, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.861e-05, allocations: 0 / 299.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4018, allocations: 54.86 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.5575, allocations: 83.48 MB / 437.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.5578, allocations: 63.97 kB / 437.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02677/0.5846, allocations: 6.001 MB / 443.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5846, allocations: 0 / 443.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.5847, allocations: 4 kB / 443.9 MB, free: 8.59 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.0008112/0.5855, allocations: 494.2 kB / 444.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.5856, allocations: 8.031 kB / 444.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.5867, allocations: 71.56 kB / 444.4 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.5869, allocations: 182.8 kB / 444.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.5869, allocations: 8 kB / 444.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.587, allocations: 19.94 kB / 444.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000374/0.5874, allocations: 117.1 kB / 444.8 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/0.5878, allocations: 155.8 kB / 444.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.5878, allocations: 0 / 444.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.5878, allocations: 0 / 444.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.5879, allocations: 11.95 kB / 444.9 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.5891, allocations: 0.5336 MB / 445.5 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007964/0.59, allocations: 204.8 kB / 445.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.5901, allocations: 53.33 kB / 445.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.5902, allocations: 240 / 445.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.5902, allocations: 42.73 kB / 445.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.474e-06/0.5902, allocations: 0 / 445.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004394/0.5907, allocations: 136.1 kB / 445.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.5907, allocations: 59.39 kB / 445.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.5908, allocations: 97 kB / 446 MB, free: 6.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.5909, allocations: 25.7 kB / 446.1 MB, free: 6.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.591, allocations: 136.2 kB / 446.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.5911, allocations: 82.66 kB / 446.3 MB, free: 6.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.5911, allocations: 0 / 446.3 MB, free: 6.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5913, allocations: 330.8 kB / 446.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.493e-05/0.5914, allocations: 28 kB / 446.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.304e-05/0.5915, allocations: 32 kB / 446.7 MB, free: 5.613 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.5917, allocations: 39.97 kB / 446.7 MB, free: 5.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5917, allocations: 4 kB / 446.7 MB, free: 5.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003512/0.592, allocations: 138.2 kB / 446.8 MB, free: 5.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.5921, allocations: 5.719 kB / 446.8 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.5921, allocations: 3.984 kB / 446.8 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.5921, allocations: 3.938 kB / 446.8 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007833/0.5929, allocations: 95.95 kB / 446.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5929, allocations: 8 kB / 446.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.5931, allocations: 15.83 kB / 447 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.5931, allocations: 4 kB / 447 MB, free: 5.297 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.0001079/0.5932, allocations: 109.1 kB / 447.1 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003536/0.5936, allocations: 145.5 kB / 447.2 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.5936, allocations: 11.81 kB / 447.2 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.771e-05/0.5937, allocations: 18 kB / 447.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.5937, allocations: 4 kB / 447.2 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.5938, allocations: 4 kB / 447.3 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.5938, allocations: 7.984 kB / 447.3 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.5942, allocations: 225.9 kB / 447.5 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5942, allocations: 0 / 447.5 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007336/0.5949, allocations: 95.95 kB / 447.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.595, allocations: 4 kB / 447.6 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.595, allocations: 3.984 kB / 447.6 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.595, allocations: 4 kB / 447.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.595, allocations: 3.938 kB / 447.6 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.5954, allocations: 239.4 kB / 447.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.5955, allocations: 88.95 kB / 447.9 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.5955, allocations: 4 kB / 447.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.5957, allocations: 0 / 447.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.5958, allocations: 15.97 kB / 447.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.5958, allocations: 8 kB / 447.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.47e-05/0.5959, allocations: 83.28 kB / 448 MB, free: 4.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5959, allocations: 0 / 448 MB, free: 4.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004508/0.5963, allocations: 43.75 kB / 448.1 MB, free: 4.117 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.000845/0.5972, allocations: 0.826 MB / 448.9 MB, free: 3.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003015/0.5975, allocations: 115.9 kB / 449 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5975, allocations: 0 / 449 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.5977, allocations: 63.88 kB / 449.1 MB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.5979, allocations: 5.406 kB / 449.1 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009086/0.5988, allocations: 282.3 kB / 449.3 MB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.5992, allocations: 0.7436 MB / 450.1 MB, free: 2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.5994, allocations: 21.19 kB / 450.1 MB, free: 1.977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.5996, allocations: 55.42 kB / 450.2 MB, free: 1.926 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5996, allocations: 0 / 450.2 MB, free: 1.926 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.6375, allocations: 1.982 MB / 452.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/0.6378, allocations: 125.8 kB / 452.3 MB, free: 15.76 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.069, allocations: 0 / 452.3 MB, free: 15.76 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