Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_2_cs_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.499/2.499, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.354e-05, allocations: 0 / 249.8 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3883, allocations: 44.49 MB / 294.3 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.5361, allocations: 70.65 MB / 364.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5364, allocations: 59.97 kB / 365 MB, free: 11.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00623/0.5427, allocations: 1.249 MB / 366.2 MB, free: 9.867 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5427, allocations: 0 / 366.2 MB, free: 9.867 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.5428, allocations: 4 kB / 366.2 MB, free: 9.863 MB / 314.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.0007275/0.5435, allocations: 378.3 kB / 366.6 MB, free: 9.449 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.5436, allocations: 12.03 kB / 366.6 MB, free: 9.438 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.5436, allocations: 4 kB / 366.6 MB, free: 9.434 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.5438, allocations: 182.8 kB / 366.8 MB, free: 9.215 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.5439, allocations: 3.984 kB / 366.8 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.5439, allocations: 4 kB / 366.8 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001721/0.5441, allocations: 28 kB / 366.8 MB, free: 9.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.5443, allocations: 57.62 kB / 366.9 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.5443, allocations: 0 / 366.9 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.5443, allocations: 0 / 366.9 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.5444, allocations: 0 / 366.9 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.545, allocations: 281.3 kB / 367.2 MB, free: 8.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.5452, allocations: 46.56 kB / 367.2 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.5453, allocations: 29.02 kB / 367.2 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.5453, allocations: 0 / 367.2 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.5454, allocations: 34.56 kB / 367.3 MB, free: 8.676 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.814e-06/0.5454, allocations: 0 / 367.3 MB, free: 8.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002814/0.5457, allocations: 65.69 kB / 367.3 MB, free: 8.605 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.5457, allocations: 51.41 kB / 367.4 MB, free: 8.543 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.5458, allocations: 97 kB / 367.5 MB, free: 8.441 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.5459, allocations: 25.7 kB / 367.5 MB, free: 8.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.149e-05/0.546, allocations: 99.97 kB / 367.6 MB, free: 8.309 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.546, allocations: 16.47 kB / 367.6 MB, free: 8.293 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.546, allocations: 0 / 367.6 MB, free: 8.293 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5462, allocations: 322.8 kB / 367.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.794e-05/0.5463, allocations: 16 kB / 368 MB, free: 7.953 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.185e-05/0.5463, allocations: 12 kB / 368 MB, free: 7.941 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.55e-05/0.5464, allocations: 11.94 kB / 368 MB, free: 7.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5464, allocations: 3.938 kB / 368 MB, free: 7.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001853/0.5466, allocations: 65.69 kB / 368 MB, free: 7.855 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5466, allocations: 4 kB / 368.1 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5467, allocations: 384 / 368.1 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.5467, allocations: 0 / 368.1 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.547, allocations: 27.98 kB / 368.1 MB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.547, allocations: 0 / 368.1 MB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.5472, allocations: 27.81 kB / 368.1 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.5473, allocations: 0 / 368.1 MB, free: 7.797 MB / 314.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 (5): * Single equations (assignments): 5 * 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.0001056/0.5474, allocations: 112.7 kB / 368.2 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001876/0.5476, allocations: 65.62 kB / 368.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.5476, allocations: 7.906 kB / 368.3 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.5479, allocations: 86 kB / 368.4 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5479, allocations: 0 / 368.4 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5479, allocations: 0 / 368.4 MB, free: 7.516 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.548, allocations: 7.953 kB / 368.4 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.5483, allocations: 158.2 kB / 368.5 MB, free: 7.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.5483, allocations: 3.984 kB / 368.5 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.5486, allocations: 31.97 kB / 368.6 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.5486, allocations: 0 / 368.6 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.5486, allocations: 3.938 kB / 368.6 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.5486, allocations: 320 / 368.6 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5486, allocations: 0 / 368.6 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.5489, allocations: 171.4 kB / 368.7 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.549, allocations: 81.02 kB / 368.8 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.549, allocations: 4 kB / 368.8 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.5493, allocations: 19.98 kB / 368.8 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.5494, allocations: 7.984 kB / 368.9 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.5494, allocations: 4 kB / 368.9 MB, free: 6.961 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.205e-05/0.5495, allocations: 87.27 kB / 368.9 MB, free: 6.875 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5495, allocations: 0 / 368.9 MB, free: 6.875 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004213/0.5499, allocations: 16 kB / 369 MB, free: 6.859 MB / 314.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 (7): * Single equations (assignments): 7 * 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.0006693/0.5506, allocations: 0.7084 MB / 369.7 MB, free: 6.121 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.5508, allocations: 39.98 kB / 369.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5508, allocations: 4 kB / 369.7 MB, free: 6.078 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.602e-05/0.5509, allocations: 23.94 kB / 369.7 MB, free: 6.055 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.5512, allocations: 12.33 kB / 369.7 MB, free: 6.043 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006258/0.5519, allocations: 123.5 kB / 369.9 MB, free: 5.883 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.5522, allocations: 0.6885 MB / 370.6 MB, free: 5.168 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.809e-05/0.5523, allocations: 7.984 kB / 370.6 MB, free: 5.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.5524, allocations: 23.38 kB / 370.6 MB, free: 5.137 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5524, allocations: 4 kB / 370.6 MB, free: 5.133 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04734/0.5998, allocations: 1.281 MB / 371.9 MB, free: 3.871 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003996/0.6003, allocations: 147.3 kB / 372 MB, free: 3.676 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.77/3.371, allocations: 3.938 kB / 372 MB, free: 3.672 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat