Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_2_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.188/2.188, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.251e-05/4.275e-05, allocations: 0 / 255.4 MB, free: 2.652 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 44.53 MB / 300 MB, free: 6.078 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4065/0.5147, allocations: 71.3 MB / 371.3 MB, free: 21.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.515, allocations: 67.81 kB / 371.3 MB, free: 21.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006043/0.5211, allocations: 1.248 MB / 372.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5211, allocations: 0 / 372.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.5211, allocations: 1.094 kB / 372.6 MB, free: 21.13 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.0006334/0.5218, allocations: 377.1 kB / 372.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.5218, allocations: 13.41 kB / 373 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.388e-05/0.5219, allocations: 33 kB / 373 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.522, allocations: 5.391 kB / 373 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.5221, allocations: 173.1 kB / 373.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.5221, allocations: 6.125 kB / 373.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.5222, allocations: 3.719 kB / 373.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.5224, allocations: 61.91 kB / 373.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5224, allocations: 0 / 373.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.5224, allocations: 4.875 kB / 373.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.5224, allocations: 1.25 kB / 373.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.5226, allocations: 36.31 kB / 373.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.5231, allocations: 308.1 kB / 373.6 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.5234, allocations: 50.77 kB / 373.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.49e-05/0.5234, allocations: 21.52 kB / 373.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.5235, allocations: 10.92 kB / 373.7 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.5235, allocations: 32.06 kB / 373.7 MB, free: 20.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 5.711e-06/0.5235, allocations: 4.078 kB / 373.7 MB, free: 20.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002784/0.5238, allocations: 68.97 kB / 373.8 MB, free: 20.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.5239, allocations: 56.52 kB / 373.8 MB, free: 20.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.524, allocations: 101.5 kB / 373.9 MB, free: 19.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.524, allocations: 25.7 kB / 373.9 MB, free: 19.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.5241, allocations: 96.75 kB / 374 MB, free: 19.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.5241, allocations: 19.61 kB / 374.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.5241, allocations: 1.859 kB / 374.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.394e-05/0.5242, allocations: 318.3 kB / 374.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.578e-05/0.5243, allocations: 11.19 kB / 374.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/0.5244, allocations: 15.77 kB / 374.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.972e-05/0.5244, allocations: 16.45 kB / 374.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.5244, allocations: 0 / 374.4 MB, free: 19.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001777/0.5246, allocations: 68.75 kB / 374.5 MB, free: 19.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.5247, allocations: 5.828 kB / 374.5 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5247, allocations: 5.938 kB / 374.5 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.5247, allocations: 0 / 374.5 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.525, allocations: 23.3 kB / 374.5 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.525, allocations: 0.7969 kB / 374.5 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.5252, allocations: 24.78 kB / 374.5 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.5252, allocations: 4.625 kB / 374.5 MB, free: 19.45 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 7.022e-05/0.5253, allocations: 111.5 kB / 374.7 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.5254, allocations: 2.188 kB / 374.7 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.5257, allocations: 94.98 kB / 374.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5257, allocations: 1.844 kB / 374.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5258, allocations: 0.6094 kB / 374.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.5258, allocations: 0 / 374.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.526, allocations: 189.8 kB / 374.9 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.526, allocations: 384 / 374.9 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.5263, allocations: 35.3 kB / 375 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.5263, allocations: 5.406 kB / 375 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.5264, allocations: 0 / 375 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5264, allocations: 5.281 kB / 375 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5264, allocations: 0 / 375 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.5266, allocations: 173.3 kB / 375.1 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.5267, allocations: 88 kB / 375.2 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.5267, allocations: 1.281 kB / 375.2 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.5269, allocations: 20.03 kB / 375.3 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.527, allocations: 5.719 kB / 375.3 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.527, allocations: 2.234 kB / 375.3 MB, free: 18.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.868e-05/0.5271, allocations: 87.84 kB / 375.3 MB, free: 18.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5271, allocations: 0 / 375.3 MB, free: 18.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.5274, allocations: 22.45 kB / 375.4 MB, free: 18.76 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.0004858/0.5279, allocations: 0.7165 MB / 376.1 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.5281, allocations: 37.58 kB / 376.1 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5281, allocations: 5.094 kB / 376.1 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.5282, allocations: 27.27 kB / 376.2 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.5285, allocations: 6.906 kB / 376.2 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.529, allocations: 133.7 kB / 376.3 MB, free: 17.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.5292, allocations: 0.6906 MB / 377 MB, free: 17.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.876e-05/0.5293, allocations: 7.969 kB / 377 MB, free: 17.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.5294, allocations: 19.11 kB / 377 MB, free: 17.26 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5294, allocations: 1.031 kB / 377 MB, free: 17.26 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.5514, allocations: 1.719 MB / 378.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002744/0.5517, allocations: 158.8 kB / 378.9 MB, free: 16.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.046, allocations: 7.938 kB / 378.9 MB, free: 16.79 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat