Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.139/2.139, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.01e-05, allocations: 0 / 292.7 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 50.41 MB / 343.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4403/0.5517, allocations: 76.75 MB / 419.9 MB, free: 1.082 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.552, allocations: 68.62 kB / 420 MB, free: 1.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005788/0.5578, allocations: 1.346 MB / 421.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5579, allocations: 4 kB / 421.3 MB, free: 15.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.5579, allocations: 4 kB / 421.3 MB, free: 15.87 MB / 346.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.0006463/0.5585, allocations: 374.2 kB / 421.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.5586, allocations: 8.031 kB / 421.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.366e-05/0.5587, allocations: 42.3 kB / 421.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.5587, allocations: 7.953 kB / 421.7 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.5589, allocations: 171 kB / 421.9 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.5589, allocations: 4 kB / 421.9 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.5589, allocations: 7.625 kB / 421.9 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.5591, allocations: 60.06 kB / 422 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5591, allocations: 0 / 422 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.5592, allocations: 0 / 422 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.5592, allocations: 7.891 kB / 422 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.5593, allocations: 36.98 kB / 422 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.5599, allocations: 310.7 kB / 422.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.56, allocations: 47.08 kB / 422.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.114e-05/0.5601, allocations: 27.8 kB / 422.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.5602, allocations: 4 kB / 422.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.5602, allocations: 34.56 kB / 422.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/0.5602, allocations: 0 / 422.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002422/0.5605, allocations: 63.42 kB / 422.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.5605, allocations: 56.05 kB / 422.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.32e-05/0.5606, allocations: 100 kB / 422.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.5607, allocations: 29.08 kB / 422.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.5607, allocations: 95.16 kB / 422.8 MB, free: 14.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.5608, allocations: 11.75 kB / 422.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-06/0.5608, allocations: 7.062 kB / 422.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5609, allocations: 318.8 kB / 423.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.412e-05/0.561, allocations: 14.69 kB / 423.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.367e-05/0.561, allocations: 22.73 kB / 423.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.389e-05/0.5611, allocations: 11.31 kB / 423.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5611, allocations: 0 / 423.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000171/0.5613, allocations: 66.95 kB / 423.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5613, allocations: 8 kB / 423.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5613, allocations: 0 / 423.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5614, allocations: 0 / 423.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.5616, allocations: 27.92 kB / 423.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5616, allocations: 0 / 423.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.5618, allocations: 23.88 kB / 423.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.5619, allocations: 4 kB / 423.3 MB, free: 13.82 MB / 346.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.582e-05/0.5619, allocations: 104.2 kB / 423.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.562, allocations: 11.95 kB / 423.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.5622, allocations: 83.69 kB / 423.5 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.5623, allocations: 4 kB / 423.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5623, allocations: 0 / 423.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5623, allocations: 3.984 kB / 423.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.5626, allocations: 186.7 kB / 423.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.5626, allocations: 3.984 kB / 423.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.5629, allocations: 31.92 kB / 423.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5629, allocations: 4 kB / 423.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.5629, allocations: 3.953 kB / 423.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.5629, allocations: 0 / 423.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5629, allocations: 0 / 423.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.5632, allocations: 164.2 kB / 423.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.5632, allocations: 89 kB / 424 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.5632, allocations: 0 / 424 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.5635, allocations: 23.94 kB / 424 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.5635, allocations: 11.73 kB / 424 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.5636, allocations: 192 / 424 MB, free: 13.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.255e-05/0.5636, allocations: 86.66 kB / 424.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5636, allocations: 0 / 424.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003243/0.564, allocations: 15.94 kB / 424.1 MB, free: 12.96 MB / 346.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.0005849/0.5646, allocations: 0.7304 MB / 424.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.5648, allocations: 36.19 kB / 424.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5648, allocations: 0 / 424.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.13e-05/0.5649, allocations: 29.73 kB / 424.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.5651, allocations: 11.95 kB / 424.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.5657, allocations: 132 kB / 425 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.566, allocations: 0.6887 MB / 425.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.234e-05/0.566, allocations: 0 / 425.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.5661, allocations: 24.05 kB / 425.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5661, allocations: 0 / 425.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.5918, allocations: 1.724 MB / 427.5 MB, free: 9.625 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/0.5922, allocations: 159.6 kB / 427.6 MB, free: 9.402 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/2.969, allocations: 4 kB / 427.6 MB, free: 9.398 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat