Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.024e-05/4.035e-05, allocations: 7.984 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 47.57 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4509/0.5723, allocations: 75.62 MB / 392.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.5726, allocations: 61.28 kB / 392.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005551/0.5782, allocations: 1.299 MB / 394 MB, free: 11.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5782, allocations: 0 / 394 MB, free: 11.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.5782, allocations: 0 / 394 MB, free: 11.25 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.0006535/0.5789, allocations: 381.7 kB / 394.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.579, allocations: 12.03 kB / 394.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/0.579, allocations: 37.8 kB / 394.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.5791, allocations: 7.906 kB / 394.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.5792, allocations: 171 kB / 394.6 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.5793, allocations: 3.875 kB / 394.6 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.5793, allocations: 14.14 kB / 394.6 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.5795, allocations: 56 kB / 394.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.5795, allocations: 0 / 394.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.5796, allocations: 0 / 394.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.5796, allocations: 4 kB / 394.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.5797, allocations: 34.61 kB / 394.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.5803, allocations: 317 kB / 395 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.5805, allocations: 48.81 kB / 395 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.751e-05/0.5805, allocations: 27.17 kB / 395.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.5806, allocations: 0 / 395.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.5806, allocations: 38.58 kB / 395.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.5806, allocations: 0 / 395.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000247/0.5809, allocations: 60.45 kB / 395.2 MB, free: 9.973 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.5809, allocations: 55.41 kB / 395.2 MB, free: 9.906 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.581, allocations: 103.7 kB / 395.3 MB, free: 9.805 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.5811, allocations: 29.7 kB / 395.4 MB, free: 9.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.5811, allocations: 87.55 kB / 395.4 MB, free: 9.684 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.5812, allocations: 19.42 kB / 395.5 MB, free: 9.668 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.5812, allocations: 0 / 395.5 MB, free: 9.668 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5813, allocations: 315.6 kB / 395.8 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.348e-05/0.5814, allocations: 14.75 kB / 395.8 MB, free: 9.344 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.166e-05/0.5815, allocations: 15.62 kB / 395.8 MB, free: 9.336 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.577e-05/0.5815, allocations: 19.61 kB / 395.8 MB, free: 9.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.5815, allocations: 0 / 395.8 MB, free: 9.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001732/0.5817, allocations: 79.47 kB / 395.9 MB, free: 9.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.5818, allocations: 4 kB / 395.9 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.5818, allocations: 4.594 kB / 395.9 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5818, allocations: 0 / 395.9 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.5821, allocations: 23.98 kB / 395.9 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.5821, allocations: 0 / 395.9 MB, free: 9.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.5823, allocations: 23.92 kB / 395.9 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.5823, allocations: 3.984 kB / 396 MB, free: 9.191 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 8.506e-05/0.5824, allocations: 115.4 kB / 396.1 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.5824, allocations: 0 / 396.1 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.5827, allocations: 94.47 kB / 396.2 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.5827, allocations: 0 / 396.2 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5827, allocations: 4 kB / 396.2 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5827, allocations: 0 / 396.2 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.583, allocations: 189.1 kB / 396.3 MB, free: 8.766 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.583, allocations: 0 / 396.3 MB, free: 8.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.5833, allocations: 31.78 kB / 396.4 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.5833, allocations: 0 / 396.4 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.5833, allocations: 0 / 396.4 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5833, allocations: 0 / 396.4 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5833, allocations: 8 kB / 396.4 MB, free: 8.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.5836, allocations: 168.1 kB / 396.6 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.5837, allocations: 84.27 kB / 396.6 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.5837, allocations: 7.984 kB / 396.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.584, allocations: 15.98 kB / 396.7 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.584, allocations: 11.11 kB / 396.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.5841, allocations: 4 kB / 396.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.842e-05/0.5841, allocations: 86.66 kB / 396.8 MB, free: 8.348 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5841, allocations: 0 / 396.8 MB, free: 8.348 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.5845, allocations: 11.94 kB / 396.8 MB, free: 8.336 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.0005925/0.5851, allocations: 0.7215 MB / 397.5 MB, free: 7.609 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.5853, allocations: 40.19 kB / 397.5 MB, free: 7.582 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5853, allocations: 0 / 397.5 MB, free: 7.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.275e-05/0.5854, allocations: 26.09 kB / 397.6 MB, free: 7.566 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.5856, allocations: 7.938 kB / 397.6 MB, free: 7.559 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.5862, allocations: 138.2 kB / 397.7 MB, free: 7.398 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.5865, allocations: 0.6965 MB / 398.4 MB, free: 6.676 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.71e-05/0.5866, allocations: 4 kB / 398.4 MB, free: 6.672 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.924e-05/0.5867, allocations: 22.55 kB / 398.4 MB, free: 6.66 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5867, allocations: 0 / 398.4 MB, free: 6.66 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.6071, allocations: 1.722 MB / 400.1 MB, free: 4.996 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/0.6074, allocations: 152.4 kB / 400.3 MB, free: 4.773 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/2.929, allocations: 0 / 400.3 MB, free: 4.773 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat