Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Utilities_TestStrings",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.716/2.716, allocations: 235.1 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.876e-05, allocations: 4 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3937, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.5621, allocations: 81.94 MB / 436.4 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.5624, allocations: 59.98 kB / 436.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07837/0.6408, allocations: 16.69 MB / 453.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6409, allocations: 0 / 453.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.6409, allocations: 0 / 453.1 MB, free: 12.39 MB / 394.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.0008847/0.6418, allocations: 492.7 kB / 453.6 MB, free: 11.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.6418, allocations: 11.97 kB / 453.6 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.6419, allocations: 3.984 kB / 453.6 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.642, allocations: 163.1 kB / 453.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.6421, allocations: 4 kB / 453.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.6421, allocations: 0 / 453.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.451e-05/0.6422, allocations: 0 / 453.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.288e-05/0.6422, allocations: 37.59 kB / 453.8 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.6423, allocations: 0 / 453.8 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.6423, allocations: 0 / 453.8 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.6423, allocations: 4 kB / 453.8 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.6425, allocations: 134.2 kB / 453.9 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.619e-05/0.6425, allocations: 14.58 kB / 454 MB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.6425, allocations: 8.953 kB / 454 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.6426, allocations: 0 / 454 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/0.6426, allocations: 56.27 kB / 454 MB, free: 11.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.814e-06/0.6426, allocations: 0 / 454 MB, free: 11.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001994/0.6429, allocations: 45.59 kB / 454.1 MB, free: 11.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.6429, allocations: 77.11 kB / 454.1 MB, free: 11.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.175e-05/0.643, allocations: 92.98 kB / 454.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.643, allocations: 25.7 kB / 454.3 MB, free: 11.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.6431, allocations: 80.14 kB / 454.3 MB, free: 10.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.6431, allocations: 0 / 454.3 MB, free: 10.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.6431, allocations: 0 / 454.3 MB, free: 10.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.6433, allocations: 310.8 kB / 454.6 MB, free: 10.65 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.6433, allocations: 8.031 kB / 454.7 MB, free: 10.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-06/0.6433, allocations: 0 / 454.7 MB, free: 10.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/0.6434, allocations: 0 / 454.7 MB, free: 10.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6434, allocations: 0 / 454.7 MB, free: 10.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001013/0.6435, allocations: 33.7 kB / 454.7 MB, free: 10.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.6435, allocations: 33.69 kB / 454.7 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6436, allocations: 0 / 454.7 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.6436, allocations: 0 / 454.7 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.652e-06/0.6436, allocations: 7.938 kB / 454.7 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.6436, allocations: 96 / 454.7 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.414e-05/0.6437, allocations: 7.953 kB / 454.7 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.6437, allocations: 0 / 454.7 MB, free: 10.55 MB / 394.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.0001111/0.6438, allocations: 134.7 kB / 454.9 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.343e-05/0.6439, allocations: 37.69 kB / 454.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.6439, allocations: 0 / 454.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.555e-05/0.6439, allocations: 7.703 kB / 454.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.644, allocations: 0 / 454.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.644, allocations: 3.953 kB / 454.9 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.644, allocations: 7.969 kB / 454.9 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.6441, allocations: 130.2 kB / 455 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6441, allocations: 0 / 455 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-06/0.6441, allocations: 3.984 kB / 455.1 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6442, allocations: 3.938 kB / 455.1 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.6442, allocations: 0 / 455.1 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.6442, allocations: 0 / 455.1 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6442, allocations: 0 / 455.1 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.6443, allocations: 73.03 kB / 455.1 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.6444, allocations: 81.09 kB / 455.2 MB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.6444, allocations: 0 / 455.2 MB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.385e-05/0.6445, allocations: 0 / 455.2 MB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.6445, allocations: 4 kB / 455.2 MB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.6445, allocations: 0 / 455.2 MB, free: 9.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.978e-05/0.6446, allocations: 75.28 kB / 455.3 MB, free: 9.906 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6446, allocations: 0 / 455.3 MB, free: 9.906 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000846/0.6454, allocations: 139.9 kB / 455.4 MB, free: 9.77 MB / 394.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.002031/0.6475, allocations: 0.98 MB / 456.4 MB, free: 8.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.6477, allocations: 59.39 kB / 456.5 MB, free: 8.754 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6477, allocations: 0 / 456.5 MB, free: 8.754 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/0.6477, allocations: 55.41 kB / 456.5 MB, free: 8.688 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.6479, allocations: 3.938 kB / 456.5 MB, free: 8.684 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006066/0.6485, allocations: 145.6 kB / 456.7 MB, free: 8.504 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.6488, allocations: 0.6805 MB / 457.3 MB, free: 7.797 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.698e-06/0.6489, allocations: 3.984 kB / 457.3 MB, free: 7.793 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.6489, allocations: 11.56 kB / 457.4 MB, free: 7.781 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6489, allocations: 4 kB / 457.4 MB, free: 7.777 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04709/0.696, allocations: 3.177 MB / 460.5 MB, free: 4.609 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003283/0.6964, allocations: 169.1 kB / 460.7 MB, free: 4.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.096/3.792, allocations: 4 kB / 460.7 MB, free: 4.406 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Utilities.TestStrings_res.mat does not exist to compare? outputFormat=mat