Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.241/2.241, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.798e-05/3.801e-05, allocations: 4 kB / 305 MB, free: 5.578 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3781, allocations: 54.87 MB / 359.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1722/0.5504, allocations: 82.62 MB / 442.5 MB, free: 14.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5507, allocations: 59.98 kB / 442.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06812/0.6188, allocations: 16.66 MB / 459.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6189, allocations: 0 / 459.2 MB, free: 13.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.6189, allocations: 0 / 459.2 MB, free: 13.67 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.0008503/0.6197, allocations: 492 kB / 459.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.6198, allocations: 8.031 kB / 459.7 MB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.6199, allocations: 34.55 kB / 459.7 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.6199, allocations: 0 / 459.7 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.62, allocations: 159.1 kB / 459.9 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.6201, allocations: 4 kB / 459.9 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.6201, allocations: 0 / 459.9 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.087e-05/0.6202, allocations: 33.59 kB / 459.9 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.6202, allocations: 0 / 459.9 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.6202, allocations: 8 kB / 459.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.6202, allocations: 3.984 kB / 459.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.908e-05/0.6203, allocations: 0 / 459.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.6204, allocations: 149.7 kB / 460.1 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.16e-05/0.6205, allocations: 18.61 kB / 460.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/0.6205, allocations: 4.859 kB / 460.1 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.6205, allocations: 0 / 460.1 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/0.6206, allocations: 68.28 kB / 460.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/0.6206, allocations: 3.938 kB / 460.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001812/0.6208, allocations: 63.38 kB / 460.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.6209, allocations: 77.11 kB / 460.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.755e-05/0.6209, allocations: 93 kB / 460.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.621, allocations: 26.64 kB / 460.4 MB, free: 12.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.621, allocations: 150.6 kB / 460.6 MB, free: 12.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.6211, allocations: 0 / 460.6 MB, free: 12.08 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.6211, allocations: 0 / 460.6 MB, free: 12.08 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6212, allocations: 314.9 kB / 460.9 MB, free: 11.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.6212, allocations: 0 / 460.9 MB, free: 11.76 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.285e-05/0.6213, allocations: 4 kB / 460.9 MB, free: 11.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.154e-05/0.6213, allocations: 29.64 kB / 460.9 MB, free: 11.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.6213, allocations: 0 / 460.9 MB, free: 11.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001304/0.6215, allocations: 71.23 kB / 461 MB, free: 11.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.6215, allocations: 30.64 kB / 461 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6215, allocations: 0 / 461 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.6216, allocations: 8.047 kB / 461 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.27e-06/0.6216, allocations: 8 kB / 461 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.6216, allocations: 0 / 461 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.6216, allocations: 0 / 461 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.6216, allocations: 0 / 461 MB, free: 11.59 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.0001008/0.6217, allocations: 134.7 kB / 461.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.6218, allocations: 3.984 kB / 461.2 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.6218, allocations: 7.078 kB / 461.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.6218, allocations: 0.5625 kB / 461.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.6218, allocations: 3.953 kB / 461.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6218, allocations: 4 kB / 461.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.622, allocations: 145.7 kB / 461.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.622, allocations: 0 / 461.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-06/0.622, allocations: 0 / 461.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.622, allocations: 1.594 kB / 461.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.622, allocations: 3.984 kB / 461.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.622, allocations: 0 / 461.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.622, allocations: 0 / 461.3 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.6222, allocations: 98.73 kB / 461.4 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.6222, allocations: 81.09 kB / 461.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.6223, allocations: 0 / 461.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.308e-05/0.6223, allocations: 4 kB / 461.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.6223, allocations: 0 / 461.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.6223, allocations: 0 / 461.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.978e-05/0.6224, allocations: 79.23 kB / 461.6 MB, free: 10.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6224, allocations: 0 / 461.6 MB, free: 10.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000726/0.6231, allocations: 139.9 kB / 461.7 MB, free: 10.79 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.001628/0.6248, allocations: 0.9984 MB / 462.7 MB, free: 9.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.6249, allocations: 67.39 kB / 462.8 MB, free: 9.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6249, allocations: 1.406 kB / 462.8 MB, free: 9.742 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.625, allocations: 55.47 kB / 462.8 MB, free: 9.676 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001034/0.6251, allocations: 7.906 kB / 462.8 MB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.6256, allocations: 176.3 kB / 463 MB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.6258, allocations: 0.6692 MB / 463.7 MB, free: 8.758 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.6259, allocations: 11.44 kB / 463.7 MB, free: 8.746 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6259, allocations: 0 / 463.7 MB, free: 8.746 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.626/3.251, allocations: 3.049 MB / 466.7 MB, free: 5.695 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestStrings_res.mat does not exist to compare? outputFormat=mat