Running command: "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestScalarFunctions",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.668/2.668, allocations: 235.1 MB / 242.3 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.725e-05, allocations: 4 kB / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3783, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.5361, allocations: 79.91 MB / 434.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.5365, allocations: 63.97 kB / 434.4 MB, free: 15.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03391/0.5704, allocations: 6.303 MB / 440.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5705, allocations: 3.938 kB / 440.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.5705, allocations: 0 / 440.7 MB, free: 8.781 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003864/0.5709, allocations: 372.6 kB / 441.1 MB, free: 8.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.5709, allocations: 8.031 kB / 441.1 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.571, allocations: 3.953 kB / 441.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.5711, allocations: 159.1 kB / 441.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.5711, allocations: 0 / 441.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.5712, allocations: 8 kB / 441.2 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.209e-05/0.5712, allocations: 0 / 441.2 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.759e-05/0.5713, allocations: 37.62 kB / 441.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.5713, allocations: 0 / 441.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.5713, allocations: 0 / 441.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.5714, allocations: 7.953 kB / 441.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.5715, allocations: 122.2 kB / 441.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.174e-05/0.5716, allocations: 14.58 kB / 441.4 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.5716, allocations: 8.859 kB / 441.4 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.5716, allocations: 4.094 kB / 441.4 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.5717, allocations: 56.27 kB / 441.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.746e-06/0.5717, allocations: 0 / 441.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002095/0.5719, allocations: 41.62 kB / 441.5 MB, free: 7.789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.572, allocations: 81.11 kB / 441.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.292e-05/0.572, allocations: 88.91 kB / 441.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.5721, allocations: 29.73 kB / 441.7 MB, free: 7.562 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.5721, allocations: 80.14 kB / 441.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.5721, allocations: 0 / 441.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.5722, allocations: 0 / 441.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5723, allocations: 314.8 kB / 442.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.5723, allocations: 0 / 442.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-06/0.5724, allocations: 4 kB / 442.1 MB, free: 7.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.843e-05/0.5724, allocations: 0 / 442.1 MB, free: 7.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.5724, allocations: 4.047 kB / 442.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001007/0.5725, allocations: 45.64 kB / 442.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.5726, allocations: 29.7 kB / 442.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5726, allocations: 0 / 442.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.5726, allocations: 4 kB / 442.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.208e-06/0.5726, allocations: 4 kB / 442.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.5727, allocations: 0 / 442.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.5727, allocations: 0 / 442.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.5727, allocations: 3.938 kB / 442.2 MB, free: 7.059 MB / 378.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001109/0.5728, allocations: 142.7 kB / 442.3 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.454e-05/0.5729, allocations: 33.7 kB / 442.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-06/0.573, allocations: 0 / 442.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.321e-05/0.573, allocations: 11.64 kB / 442.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.573, allocations: 0 / 442.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.573, allocations: 3.984 kB / 442.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.573, allocations: 0 / 442.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.5731, allocations: 134.2 kB / 442.5 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5732, allocations: 0 / 442.5 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-06/0.5732, allocations: 0 / 442.5 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5732, allocations: 0 / 442.5 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-06/0.5732, allocations: 4.031 kB / 442.5 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5732, allocations: 0 / 442.5 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.5732, allocations: 4 kB / 442.5 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.5734, allocations: 65.02 kB / 442.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.5734, allocations: 77.11 kB / 442.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.5734, allocations: 0 / 442.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.665e-05/0.5735, allocations: 4 kB / 442.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.5735, allocations: 8.031 kB / 442.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.5735, allocations: 3.984 kB / 442.7 MB, free: 6.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.241e-05/0.5736, allocations: 75.28 kB / 442.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5736, allocations: 0 / 442.8 MB, free: 6.414 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003106/0.5739, allocations: 12 kB / 442.8 MB, free: 6.402 MB / 378.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006581/0.5746, allocations: 0.6212 MB / 443.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.5747, allocations: 59.34 kB / 443.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5747, allocations: 0 / 443.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.5748, allocations: 51.41 kB / 443.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.5749, allocations: 4 kB / 443.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.5752, allocations: 85.78 kB / 443.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.5755, allocations: 0.6768 MB / 444.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.162e-06/0.5756, allocations: 0 / 444.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.5756, allocations: 7.438 kB / 444.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5756, allocations: 0 / 444.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/0.6125, allocations: 0.5537 MB / 444.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003733/0.6129, allocations: 172.8 kB / 445 MB, free: 4.047 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.344/2.957, allocations: 0 / 445 MB, free: 4.047 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat