Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.534/2.534, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.623e-05/4.633e-05, allocations: 8 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1302, allocations: 61.88 MB / 410.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.543/0.6733, allocations: 90.64 MB / 0.4892 GB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.6736, allocations: 59.98 kB / 0.4893 GB, free: 13.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0275/0.7011, allocations: 6.22 MB / 0.4954 GB, free: 6.922 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.7012, allocations: 0 / 0.4954 GB, free: 6.922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.7012, allocations: 4 kB / 0.4954 GB, free: 6.918 MB / 410.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.0007563/0.702, allocations: 497 kB / 0.4959 GB, free: 6.391 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.702, allocations: 16.03 kB / 0.4959 GB, free: 6.375 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.7022, allocations: 90.95 kB / 0.496 GB, free: 6.277 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.7033, allocations: 63.67 kB / 0.496 GB, free: 6.215 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.7035, allocations: 186.8 kB / 0.4962 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/0.7035, allocations: 28.78 kB / 0.4962 GB, free: 5.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.7036, allocations: 31.95 kB / 0.4963 GB, free: 5.934 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.7041, allocations: 218.2 kB / 0.4965 GB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.7042, allocations: 4 kB / 0.4965 GB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.7042, allocations: 8 kB / 0.4965 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.7042, allocations: 8 kB / 0.4965 GB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.7046, allocations: 145.5 kB / 0.4966 GB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.7061, allocations: 0.6521 MB / 0.4973 GB, free: 4.844 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008145/0.7069, allocations: 213.8 kB / 0.4975 GB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.7071, allocations: 64.38 kB / 0.4975 GB, free: 4.566 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.7071, allocations: 8.172 kB / 0.4975 GB, free: 4.559 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.7072, allocations: 34.8 kB / 0.4976 GB, free: 4.516 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.295e-06/0.7072, allocations: 0 / 0.4976 GB, free: 4.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004401/0.7076, allocations: 156.1 kB / 0.4977 GB, free: 4.359 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.7077, allocations: 59.41 kB / 0.4978 GB, free: 4.289 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.7078, allocations: 91.84 kB / 0.4979 GB, free: 4.195 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.7078, allocations: 33.7 kB / 0.4979 GB, free: 4.156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.7079, allocations: 148.3 kB / 0.498 GB, free: 4.004 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.7081, allocations: 90.66 kB / 0.4981 GB, free: 3.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/0.7081, allocations: 4 kB / 0.4981 GB, free: 3.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.7082, allocations: 326.8 kB / 0.4984 GB, free: 3.582 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.7084, allocations: 36 kB / 0.4985 GB, free: 3.547 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.7085, allocations: 40 kB / 0.4985 GB, free: 3.508 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.7086, allocations: 47.02 kB / 0.4986 GB, free: 3.465 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7086, allocations: 0 / 0.4986 GB, free: 3.465 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003607/0.709, allocations: 149.6 kB / 0.4987 GB, free: 3.312 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.709, allocations: 4 kB / 0.4987 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.7091, allocations: 3.938 kB / 0.4987 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.7091, allocations: 4 kB / 0.4987 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.7098, allocations: 99.94 kB / 0.4988 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.7099, allocations: 0 / 0.4988 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.71, allocations: 15.84 kB / 0.4988 GB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.71, allocations: 11.98 kB / 0.4988 GB, free: 3.176 MB / 410.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.0001048/0.7101, allocations: 116.9 kB / 0.4989 GB, free: 3.055 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.7102, allocations: 15.81 kB / 0.499 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/0.7103, allocations: 21.12 kB / 0.499 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.7103, allocations: 4 kB / 0.499 GB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7103, allocations: 4 kB / 0.499 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.7103, allocations: 3.984 kB / 0.499 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.7108, allocations: 293.3 kB / 0.4993 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.7108, allocations: 256 / 0.4993 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007014/0.7115, allocations: 107.8 kB / 0.4994 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.7115, allocations: 4 kB / 0.4994 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.7115, allocations: 8 kB / 0.4994 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.7116, allocations: 0 / 0.4994 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7116, allocations: 0 / 0.4994 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.712, allocations: 257.9 kB / 0.4996 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.7121, allocations: 88.95 kB / 0.4997 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.7121, allocations: 4 kB / 0.4997 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.7123, allocations: 8 kB / 0.4997 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.7123, allocations: 23.91 kB / 0.4997 GB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.7124, allocations: 8 kB / 0.4998 GB, free: 2.137 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.67e-05/0.7124, allocations: 87.22 kB / 0.4998 GB, free: 2.051 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7125, allocations: 0 / 0.4998 GB, free: 2.051 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.7128, allocations: 55.69 kB / 0.4999 GB, free: 1.996 MB / 410.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.0009567/0.7138, allocations: 0.8599 MB / 0.5007 GB, free: 1.109 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.7142, allocations: 119.9 kB / 0.5008 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7142, allocations: 0 / 0.5008 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.7143, allocations: 63.94 kB / 0.5009 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.7146, allocations: 15.92 kB / 0.5009 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.7156, allocations: 335.5 kB / 0.5012 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.716, allocations: 0.748 MB / 0.502 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.7162, allocations: 17.2 kB / 0.502 GB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.7163, allocations: 63.42 kB / 0.502 GB, free: 15.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7163, allocations: 0 / 0.502 GB, free: 15.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.7369, allocations: 2.322 MB / 0.5043 GB, free: 13.45 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003529/0.7374, allocations: 140.9 kB / 0.5044 GB, free: 13.23 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/2.963, allocations: 7.875 kB / 0.5045 GB, free: 13.22 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat