Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.926/1.926, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.934e-05/3.955e-05, allocations: 4 kB / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2691, allocations: 38.76 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.3944, allocations: 65.96 MB / 329.8 MB, free: 7.812 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.3947, allocations: 71.95 kB / 329.8 MB, free: 7.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005741/0.4005, allocations: 1.23 MB / 331.1 MB, free: 6.512 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4006, allocations: 224 / 331.1 MB, free: 6.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.4006, allocations: 0 / 331.1 MB, free: 6.512 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.0006918/0.4013, allocations: 378.3 kB / 331.4 MB, free: 6.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.4013, allocations: 12.03 kB / 331.5 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/0.4014, allocations: 38.5 kB / 331.5 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.4015, allocations: 7.906 kB / 331.5 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.4016, allocations: 170.9 kB / 331.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.4017, allocations: 4 kB / 331.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.4017, allocations: 4 kB / 331.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.4019, allocations: 61.64 kB / 331.7 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4019, allocations: 0 / 331.7 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.4019, allocations: 0 / 331.7 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.402, allocations: 7.938 kB / 331.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.4021, allocations: 32 kB / 331.8 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/0.4027, allocations: 312.8 kB / 332.1 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.4029, allocations: 42.52 kB / 332.1 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.955e-05/0.403, allocations: 24.84 kB / 332.1 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.403, allocations: 4 kB / 332.2 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.403, allocations: 30.56 kB / 332.2 MB, free: 5.234 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.315e-06/0.403, allocations: 0 / 332.2 MB, free: 5.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002621/0.4033, allocations: 61.69 kB / 332.2 MB, free: 5.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.4034, allocations: 55.34 kB / 332.3 MB, free: 5.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.4035, allocations: 105 kB / 332.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.4035, allocations: 25.7 kB / 332.4 MB, free: 4.961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.4036, allocations: 162.5 kB / 332.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.4037, allocations: 15.81 kB / 332.6 MB, free: 4.785 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.4037, allocations: 0 / 332.6 MB, free: 4.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4038, allocations: 318.8 kB / 332.9 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.854e-05/0.4039, allocations: 12 kB / 332.9 MB, free: 4.453 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.841e-05/0.404, allocations: 12 kB / 332.9 MB, free: 4.441 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/0.404, allocations: 8 kB / 332.9 MB, free: 4.434 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.404, allocations: 0 / 332.9 MB, free: 4.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001595/0.4042, allocations: 57.69 kB / 333 MB, free: 4.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.4042, allocations: 4 kB / 333 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4043, allocations: 4 kB / 333 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.4043, allocations: 0 / 333 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.4046, allocations: 27.91 kB / 333 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4046, allocations: 0 / 333 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.4048, allocations: 23.92 kB / 333.1 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.4048, allocations: 4 kB / 333.1 MB, free: 4.309 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 9.052e-05/0.4049, allocations: 108.9 kB / 333.2 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.4049, allocations: 7.906 kB / 333.2 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/0.4052, allocations: 77.64 kB / 333.3 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.4052, allocations: 4 kB / 333.3 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.4053, allocations: 0 / 333.3 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4053, allocations: 0 / 333.3 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.4055, allocations: 185.5 kB / 333.4 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4056, allocations: 0 / 333.4 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.4058, allocations: 35.91 kB / 333.5 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.4058, allocations: 0 / 333.5 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4058, allocations: 0 / 333.5 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4059, allocations: 0 / 333.5 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4059, allocations: 4 kB / 333.5 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.4061, allocations: 163.5 kB / 333.6 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.4062, allocations: 85.06 kB / 333.7 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.4062, allocations: 4 kB / 333.7 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.4065, allocations: 16.09 kB / 333.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.4065, allocations: 8 kB / 333.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.4065, allocations: 8 kB / 333.8 MB, free: 3.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.895e-05/0.4066, allocations: 83.27 kB / 333.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4066, allocations: 0 / 333.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003065/0.407, allocations: 19.91 kB / 333.9 MB, free: 3.41 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.0006541/0.4076, allocations: 0.7085 MB / 334.6 MB, free: 2.676 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.4078, allocations: 35.98 kB / 334.6 MB, free: 2.641 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4078, allocations: 11.94 kB / 334.6 MB, free: 2.629 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.4079, allocations: 16 kB / 334.6 MB, free: 2.613 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.4082, allocations: 11.94 kB / 334.6 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.4087, allocations: 152.3 kB / 334.8 MB, free: 2.406 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.4091, allocations: 0.6887 MB / 335.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.4092, allocations: 23.42 kB / 335.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4092, allocations: 0 / 335.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.47/2.879, allocations: 1.199 MB / 336.7 MB, free: 496 kB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat