Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_1_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.671/1.671, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.85e-05, allocations: 7.984 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3366, allocations: 38.76 MB / 258.3 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.4539, allocations: 65.3 MB / 323.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.4542, allocations: 63.97 kB / 323.7 MB, free: 12.42 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005324/0.4595, allocations: 1.219 MB / 324.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4596, allocations: 4.219 kB / 324.9 MB, free: 11.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.4596, allocations: 0 / 324.9 MB, free: 11.2 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006589/0.4603, allocations: 378.2 kB / 325.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.4603, allocations: 8.031 kB / 325.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.4604, allocations: 15.89 kB / 325.3 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.4605, allocations: 167 kB / 325.5 MB, free: 10.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4606, allocations: 0 / 325.5 MB, free: 10.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.4606, allocations: 4 kB / 325.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001501/0.4608, allocations: 35.94 kB / 325.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.4609, allocations: 57.64 kB / 325.6 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4609, allocations: 0 / 325.6 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.461, allocations: 3.984 kB / 325.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.461, allocations: 3.984 kB / 325.6 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.4616, allocations: 277.2 kB / 325.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.4617, allocations: 42.56 kB / 325.9 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.169e-05/0.4618, allocations: 20.86 kB / 325.9 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.4618, allocations: 3.984 kB / 325.9 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.4619, allocations: 30.56 kB / 326 MB, free: 10.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.305e-06/0.4619, allocations: 4 kB / 326 MB, free: 10.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002335/0.4621, allocations: 61.72 kB / 326 MB, free: 9.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.4622, allocations: 55.41 kB / 326.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.447e-05/0.4623, allocations: 97 kB / 326.2 MB, free: 9.785 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.4623, allocations: 25.7 kB / 326.2 MB, free: 9.754 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.4624, allocations: 92.06 kB / 326.3 MB, free: 9.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.4624, allocations: 11.81 kB / 326.3 MB, free: 9.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.4624, allocations: 0 / 326.3 MB, free: 9.648 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4626, allocations: 318.8 kB / 326.6 MB, free: 9.328 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.561e-05/0.4626, allocations: 16 kB / 326.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.222e-05/0.4627, allocations: 8 kB / 326.6 MB, free: 9.305 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.186e-05/0.4627, allocations: 8 kB / 326.6 MB, free: 9.297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4628, allocations: 0 / 326.6 MB, free: 9.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001547/0.4629, allocations: 65.55 kB / 326.7 MB, free: 9.227 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.463, allocations: 4 kB / 326.7 MB, free: 9.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.463, allocations: 0 / 326.7 MB, free: 9.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.463, allocations: 0 / 326.7 MB, free: 9.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.4633, allocations: 31.91 kB / 326.7 MB, free: 9.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4633, allocations: 4 kB / 326.7 MB, free: 9.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.4635, allocations: 15.98 kB / 326.8 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4635, allocations: 3.938 kB / 326.8 MB, free: 9.168 MB / 282.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 (4): * Single equations (assignments): 4 * 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 8.771e-05/0.4636, allocations: 101 kB / 326.9 MB, free: 9.062 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001759/0.4638, allocations: 65.58 kB / 326.9 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.4638, allocations: 7.906 kB / 326.9 MB, free: 8.984 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.464, allocations: 77.95 kB / 327 MB, free: 8.898 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4641, allocations: 4 kB / 327 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4641, allocations: 0 / 327 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4641, allocations: 0 / 327 MB, free: 8.895 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.4644, allocations: 154.1 kB / 327.2 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.4644, allocations: 7.953 kB / 327.2 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.4646, allocations: 24.22 kB / 327.2 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.4647, allocations: 0 / 327.2 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.4647, allocations: 7.984 kB / 327.2 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4647, allocations: 0 / 327.2 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4647, allocations: 0 / 327.2 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.465, allocations: 167.5 kB / 327.4 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.465, allocations: 81.06 kB / 327.4 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.4651, allocations: 0 / 327.4 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.4654, allocations: 19.98 kB / 327.5 MB, free: 8.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.4654, allocations: 15.92 kB / 327.5 MB, free: 8.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.4654, allocations: 0 / 327.5 MB, free: 8.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.129e-05/0.4655, allocations: 87.28 kB / 327.6 MB, free: 8.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4655, allocations: 0 / 327.6 MB, free: 8.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000353/0.4659, allocations: 8 kB / 327.6 MB, free: 8.262 MB / 282.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 (6): * Single equations (assignments): 6 * 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.0005614/0.4665, allocations: 0.7046 MB / 328.3 MB, free: 7.527 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.4666, allocations: 31.94 kB / 328.3 MB, free: 7.496 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4666, allocations: 0 / 328.3 MB, free: 7.496 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.145e-05/0.4667, allocations: 20 kB / 328.3 MB, free: 7.477 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.467, allocations: 15.58 kB / 328.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.4675, allocations: 129.6 kB / 328.5 MB, free: 7.297 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.4679, allocations: 0.6885 MB / 329.2 MB, free: 6.582 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.598e-05/0.4679, allocations: 4 kB / 329.2 MB, free: 6.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.468, allocations: 15.42 kB / 329.2 MB, free: 6.562 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.468, allocations: 0 / 329.2 MB, free: 6.562 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.5028, allocations: 1.217 MB / 330.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.5031, allocations: 142.4 kB / 330.5 MB, free: 5.164 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/2.668, allocations: 0 / 330.5 MB, free: 5.164 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat