Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.859e-05, allocations: 4 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4645, allocations: 54.86 MB / 359.9 MB, free: 2.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/1.707, allocations: 372.6 MB / 0.7153 GB, free: 146.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/1.707, allocations: 73.44 kB / 0.7154 GB, free: 146.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07886/1.786, allocations: 21.16 MB / 0.736 GB, free: 145.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.054e-06/1.786, allocations: 0 / 0.736 GB, free: 145.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/1.786, allocations: 0 / 0.736 GB, free: 145.2 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001287/1.788, allocations: 0.5752 MB / 0.7366 GB, free: 144.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.788, allocations: 7.781 kB / 0.7366 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/1.788, allocations: 57.27 kB / 0.7366 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/1.788, allocations: 23.44 kB / 0.7367 GB, free: 144.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/1.788, allocations: 231.5 kB / 0.7369 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/1.788, allocations: 134.2 kB / 0.737 GB, free: 144.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/1.789, allocations: 27.05 kB / 0.737 GB, free: 144.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/1.789, allocations: 309.8 kB / 0.7373 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/1.789, allocations: 3.938 kB / 0.7373 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/1.789, allocations: 11.28 kB / 0.7374 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/1.789, allocations: 3.906 kB / 0.7374 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/1.79, allocations: 0.7321 MB / 0.7381 GB, free: 144.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/1.792, allocations: 1.143 MB / 0.7392 GB, free: 143.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/1.792, allocations: 161.1 kB / 0.7393 GB, free: 143.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/1.793, allocations: 85.33 kB / 0.7394 GB, free: 143.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002937/1.795, allocations: 2.861 MB / 0.7422 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/1.796, allocations: 30.56 kB / 0.7422 GB, free: 140.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.705e-06/1.796, allocations: 0 / 0.7422 GB, free: 140.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007803/1.796, allocations: 204.5 kB / 0.7424 GB, free: 140.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/1.796, allocations: 55.31 kB / 0.7425 GB, free: 140.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/1.797, allocations: 177.7 kB / 0.7427 GB, free: 140.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/1.797, allocations: 33.23 kB / 0.7427 GB, free: 140.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/1.797, allocations: 271.9 kB / 0.743 GB, free: 140.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/1.797, allocations: 69.5 kB / 0.743 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/1.797, allocations: 14.81 kB / 0.743 GB, free: 140.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.525e-05/1.797, allocations: 322.2 kB / 0.7433 GB, free: 139.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/1.797, allocations: 50.64 kB / 0.7434 GB, free: 139.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/1.797, allocations: 307.6 kB / 0.7437 GB, free: 139.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/1.798, allocations: 104.3 kB / 0.7438 GB, free: 139.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.798, allocations: 3.906 kB / 0.7438 GB, free: 139.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007328/1.798, allocations: 350.9 kB / 0.7441 GB, free: 139.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/1.798, allocations: 7.844 kB / 0.7441 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/1.798, allocations: 11.69 kB / 0.7441 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/1.798, allocations: 11.72 kB / 0.7442 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006178/1.799, allocations: 108.6 kB / 0.7443 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/1.799, allocations: 15.66 kB / 0.7443 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/1.799, allocations: 18.66 kB / 0.7443 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/1.8, allocations: 34.84 kB / 0.7443 GB, free: 139.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * 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 0.0001109/1.8, allocations: 139.4 kB / 0.7445 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/1.8, allocations: 23.58 kB / 0.7445 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004885/1.8, allocations: 179.5 kB / 0.7446 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/1.8, allocations: 3.938 kB / 0.7447 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.8, allocations: 7.844 kB / 0.7447 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.8, allocations: 0 / 0.7447 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006746/1.801, allocations: 446.3 kB / 0.7451 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.801, allocations: 8 kB / 0.7451 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/1.801, allocations: 31.31 kB / 0.7451 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.801, allocations: 3.969 kB / 0.7451 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/1.801, allocations: 0 / 0.7451 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/1.801, allocations: 7.875 kB / 0.7451 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.801, allocations: 0 / 0.7451 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/1.802, allocations: 259.8 kB / 0.7454 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/1.802, allocations: 115.4 kB / 0.7455 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/1.802, allocations: 3.812 kB / 0.7455 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/1.802, allocations: 15.66 kB / 0.7455 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/1.802, allocations: 11.75 kB / 0.7455 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/1.802, allocations: 15.5 kB / 0.7455 GB, free: 138.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001364/1.802, allocations: 143.2 kB / 0.7457 GB, free: 138.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.802, allocations: 3.938 kB / 0.7457 GB, free: 138.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007203/1.803, allocations: 93.31 kB / 0.7458 GB, free: 138.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 1 * 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.0007051/1.804, allocations: 1.077 MB / 0.7468 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004029/1.804, allocations: 160.4 kB / 0.747 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.804, allocations: 0 / 0.747 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.655e-05/1.804, allocations: 35.19 kB / 0.747 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/1.805, allocations: 38.64 kB / 0.747 GB, free: 137.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/1.824, allocations: 5.73 MB / 0.7526 GB, free: 135.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/1.824, allocations: 0.7323 MB / 0.7534 GB, free: 134.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/1.824, allocations: 65.41 kB / 0.7534 GB, free: 134.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/1.824, allocations: 3.938 kB / 0.7534 GB, free: 134.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.865/4.689, allocations: 4.204 MB / 0.7575 GB, free: 132.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat