Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.365/2.365, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.257e-05, allocations: 0 / 305 MB, free: 5.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3889, allocations: 54.86 MB / 359.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.5351, allocations: 79.62 MB / 439.5 MB, free: 1.262 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.5354, allocations: 59.97 kB / 439.5 MB, free: 1.203 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0081/0.5435, allocations: 1.939 MB / 441.5 MB, free: 15.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5436, allocations: 0 / 441.5 MB, free: 15.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.5436, allocations: 0 / 441.5 MB, free: 15.28 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.0003589/0.544, allocations: 368.2 kB / 441.8 MB, free: 14.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.5441, allocations: 12.03 kB / 441.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.5441, allocations: 30.56 kB / 441.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.5441, allocations: 3.953 kB / 441.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.683e-05/0.5443, allocations: 159.1 kB / 442 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.5443, allocations: 1.688 kB / 442 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.5443, allocations: 7.938 kB / 442 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.19e-05/0.5444, allocations: 29.7 kB / 442.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5444, allocations: 0 / 442.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.5444, allocations: 0 / 442.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5445, allocations: 7.891 kB / 442.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.5445, allocations: 4 kB / 442.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.5446, allocations: 149.7 kB / 442.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.258e-05/0.5447, allocations: 21.11 kB / 442.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.5447, allocations: 12.95 kB / 442.3 MB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.5447, allocations: 0 / 442.3 MB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.5448, allocations: 60.2 kB / 442.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.814e-06/0.5448, allocations: 0 / 442.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001651/0.545, allocations: 63.39 kB / 442.4 MB, free: 14.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.545, allocations: 77.11 kB / 442.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.058e-05/0.5451, allocations: 85 kB / 442.5 MB, free: 14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.5451, allocations: 33.73 kB / 442.6 MB, free: 13.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.5452, allocations: 150.6 kB / 442.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.5452, allocations: 0 / 442.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.5452, allocations: 0 / 442.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.5454, allocations: 318.8 kB / 443 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.5454, allocations: 0 / 443 MB, free: 13.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.5454, allocations: 0 / 443 MB, free: 13.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.63e-05/0.5454, allocations: 29.7 kB / 443.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5454, allocations: 0 / 443.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.333e-05/0.5455, allocations: 67.39 kB / 443.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/0.5456, allocations: 33.7 kB / 443.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5456, allocations: 0 / 443.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5456, allocations: 0 / 443.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-06/0.5456, allocations: 3.984 kB / 443.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5457, allocations: 0 / 443.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.5457, allocations: 0 / 443.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.5457, allocations: 4.812 kB / 443.2 MB, free: 13.33 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 9.224e-05/0.5458, allocations: 138.6 kB / 443.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.5458, allocations: 4.031 kB / 443.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.533e-05/0.5458, allocations: 8.578 kB / 443.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5459, allocations: 4 kB / 443.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.5459, allocations: 0 / 443.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5459, allocations: 0 / 443.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.546, allocations: 145.6 kB / 443.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.546, allocations: 5.609 kB / 443.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.546, allocations: 3.938 kB / 443.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.546, allocations: 0 / 443.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.5461, allocations: 4 kB / 443.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5461, allocations: 4 kB / 443.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5461, allocations: 0 / 443.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.5462, allocations: 94.73 kB / 443.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.5463, allocations: 81.09 kB / 443.6 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.5463, allocations: 0 / 443.6 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.197e-05/0.5463, allocations: 0 / 443.6 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.5463, allocations: 0 / 443.6 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.5463, allocations: 5.031 kB / 443.7 MB, free: 12.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.914e-05/0.5464, allocations: 79.31 kB / 443.7 MB, free: 12.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5464, allocations: 0 / 443.7 MB, free: 12.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.5467, allocations: 47.98 kB / 443.8 MB, free: 12.61 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.0008695/0.5476, allocations: 0.7518 MB / 444.5 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.786e-05/0.5477, allocations: 63.41 kB / 444.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5478, allocations: 64 / 444.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.764e-05/0.5478, allocations: 59.39 kB / 444.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.5479, allocations: 4 kB / 444.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.5483, allocations: 118.5 kB / 444.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.5485, allocations: 0.6731 MB / 445.4 MB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.5486, allocations: 7.438 kB / 445.4 MB, free: 10.86 MB / 378.7 MB Notification: Performance of SimCode: time 4.067e-06/0.5486, allocations: 4 kB / 445.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.343/2.892, allocations: 1.226 MB / 446.7 MB, free: 9.641 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestFiles_res.mat does not exist to compare? outputFormat=mat