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.006/2.006, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.722e-05, allocations: 4 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.09665, allocations: 44.51 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3897/0.4864, allocations: 71.31 MB / 371.3 MB, free: 22.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.4868, allocations: 63.52 kB / 371.3 MB, free: 22.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006157/0.493, allocations: 1.25 MB / 372.6 MB, free: 21.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.493, allocations: 0 / 372.6 MB, free: 21.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.4931, allocations: 1.125 kB / 372.6 MB, free: 21.68 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.0006402/0.4937, allocations: 379.5 kB / 373 MB, free: 21.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.4938, allocations: 10.06 kB / 373 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.4938, allocations: 33.17 kB / 373 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.4939, allocations: 4.156 kB / 373 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.494, allocations: 182.9 kB / 373.2 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.4941, allocations: 1.156 kB / 373.2 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.4941, allocations: 8.578 kB / 373.2 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.4943, allocations: 59.62 kB / 373.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4943, allocations: 0.75 kB / 373.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.4944, allocations: 2.844 kB / 373.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.4944, allocations: 1.219 kB / 373.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.4945, allocations: 34.91 kB / 373.3 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.4951, allocations: 312.2 kB / 373.6 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.4953, allocations: 47.2 kB / 373.7 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.4954, allocations: 25.58 kB / 373.7 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.4954, allocations: 4.031 kB / 373.7 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.4955, allocations: 34.5 kB / 373.7 MB, free: 20.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.735e-06/0.4955, allocations: 1.344 kB / 373.7 MB, free: 20.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002584/0.4957, allocations: 63.7 kB / 373.8 MB, free: 20.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.4958, allocations: 60.55 kB / 373.8 MB, free: 20.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.4959, allocations: 105.5 kB / 373.9 MB, free: 20.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.4959, allocations: 25.7 kB / 374 MB, free: 20.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.496, allocations: 98.72 kB / 374.1 MB, free: 20.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.496, allocations: 11.98 kB / 374.1 MB, free: 20.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.496, allocations: 3.203 kB / 374.1 MB, free: 20.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.4961, allocations: 317.3 kB / 374.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.4962, allocations: 14.03 kB / 374.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.259e-05/0.4962, allocations: 17.05 kB / 374.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/0.4963, allocations: 15.06 kB / 374.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4963, allocations: 5.375 kB / 374.4 MB, free: 20.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001785/0.4965, allocations: 61.23 kB / 374.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.4966, allocations: 5.875 kB / 374.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4966, allocations: 1.828 kB / 374.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4966, allocations: 0 / 374.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.4969, allocations: 23.33 kB / 374.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.4969, allocations: 5.906 kB / 374.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.4971, allocations: 24.3 kB / 374.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.4971, allocations: 4.656 kB / 374.6 MB, free: 20 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 6.796e-05/0.4972, allocations: 106.3 kB / 374.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.4973, allocations: 3.062 kB / 374.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.4976, allocations: 90.23 kB / 374.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4976, allocations: 5.688 kB / 374.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4976, allocations: 1.188 kB / 374.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4976, allocations: 1.266 kB / 374.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002513/0.4979, allocations: 192.8 kB / 375 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4979, allocations: 0 / 375 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.4982, allocations: 27.48 kB / 375 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.4982, allocations: 3.938 kB / 375 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.4982, allocations: 1.953 kB / 375 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4983, allocations: 4 kB / 375 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4983, allocations: 1.562 kB / 375 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.4985, allocations: 176.2 kB / 375.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.4986, allocations: 84.33 kB / 375.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.4986, allocations: 8.625 kB / 375.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.4989, allocations: 21.23 kB / 375.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.4989, allocations: 5.25 kB / 375.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.499, allocations: 2.453 kB / 375.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.499, allocations: 91.58 kB / 375.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.499, allocations: 0 / 375.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000365/0.4994, allocations: 18.16 kB / 375.4 MB, free: 19.31 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.0005311/0.5, allocations: 0.7225 MB / 376.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.5002, allocations: 37.59 kB / 376.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5002, allocations: 0 / 376.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.5003, allocations: 24.48 kB / 376.2 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.5006, allocations: 6.859 kB / 376.2 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.5012, allocations: 141.9 kB / 376.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.5013, allocations: 0.691 MB / 377 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.452e-05/0.5014, allocations: 2.828 kB / 377 MB, free: 17.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.5015, allocations: 20.14 kB / 377 MB, free: 17.81 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5015, allocations: 0 / 377 MB, free: 17.81 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.5227, allocations: 1.719 MB / 378.7 MB, free: 17.57 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/0.523, allocations: 157.5 kB / 378.9 MB, free: 17.34 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.046, allocations: 3.938 kB / 378.9 MB, free: 17.34 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