Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.038/2.038, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.821e-05, allocations: 8 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 48.71 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4002/0.5063, allocations: 75.35 MB / 391.7 MB, free: 1.199 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.5067, allocations: 73.25 kB / 391.7 MB, free: 1.164 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01685/0.5235, allocations: 3.971 MB / 395.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5236, allocations: 4 kB / 395.7 MB, free: 13.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.5236, allocations: 0 / 395.7 MB, free: 13.83 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005701/0.5242, allocations: 411 kB / 396.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.5242, allocations: 12.03 kB / 396.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.5243, allocations: 7.906 kB / 396.1 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.5246, allocations: 197.8 kB / 396.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.5246, allocations: 4 kB / 396.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.5247, allocations: 3.906 kB / 396.3 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.798e-05/0.5248, allocations: 15.05 kB / 396.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.759e-05/0.5249, allocations: 44.06 kB / 396.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.5249, allocations: 3.938 kB / 396.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.5249, allocations: 4 kB / 396.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.525, allocations: 0 / 396.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.5254, allocations: 272.6 kB / 396.7 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.5256, allocations: 40.5 kB / 396.7 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.032e-05/0.5257, allocations: 19.61 kB / 396.7 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.5257, allocations: 0 / 396.7 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.5259, allocations: 58.38 kB / 396.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.5259, allocations: 0 / 396.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004476/0.5264, allocations: 106.3 kB / 396.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.5264, allocations: 51.41 kB / 396.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.5267, allocations: 150.6 kB / 397.1 MB, free: 12.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.5267, allocations: 29.02 kB / 397.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.5268, allocations: 169.4 kB / 397.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.5269, allocations: 11.8 kB / 397.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.5269, allocations: 4 kB / 397.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.527, allocations: 314.4 kB / 397.6 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.5271, allocations: 22.5 kB / 397.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.5272, allocations: 18.38 kB / 397.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.544e-05/0.5273, allocations: 21.36 kB / 397.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5273, allocations: 0 / 397.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002404/0.5276, allocations: 93.33 kB / 397.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.5276, allocations: 37.7 kB / 397.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5276, allocations: 0 / 397.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5277, allocations: 0 / 397.8 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.5277, allocations: 11.94 kB / 397.8 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.5278, allocations: 0 / 397.8 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.977e-05/0.5278, allocations: 11.94 kB / 397.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.5279, allocations: 4 kB / 397.8 MB, free: 11.64 MB / 330.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.081e-05/0.528, allocations: 104.3 kB / 397.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001633/0.5281, allocations: 67.97 kB / 398 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.5282, allocations: 11.91 kB / 398 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.5284, allocations: 86.95 kB / 398.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5285, allocations: 7.953 kB / 398.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5285, allocations: 4 kB / 398.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5285, allocations: 3.984 kB / 398.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.5289, allocations: 322.1 kB / 398.4 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5289, allocations: 0 / 398.4 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.529, allocations: 15.92 kB / 398.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.529, allocations: 11.92 kB / 398.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.5291, allocations: 3.953 kB / 398.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.5291, allocations: 3.984 kB / 398.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5291, allocations: 0 / 398.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.5293, allocations: 170.4 kB / 398.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.5294, allocations: 85.02 kB / 398.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.5294, allocations: 4 kB / 398.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.786e-05/0.5296, allocations: 3.953 kB / 398.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.5296, allocations: 15.86 kB / 398.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.5296, allocations: 0 / 398.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001474/0.5298, allocations: 123 kB / 398.8 MB, free: 10.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5298, allocations: 0 / 398.8 MB, free: 10.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004227/0.5302, allocations: 39.92 kB / 398.9 MB, free: 10.56 MB / 330.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001269/0.5315, allocations: 0.9046 MB / 399.8 MB, free: 9.688 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.5318, allocations: 101.2 kB / 399.9 MB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.5318, allocations: 0 / 399.9 MB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.033e-05/0.5318, allocations: 27.36 kB / 399.9 MB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.5322, allocations: 24.56 kB / 399.9 MB, free: 9.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/0.5328, allocations: 209.2 kB / 400.1 MB, free: 9.316 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.5332, allocations: 0.7001 MB / 400.8 MB, free: 8.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.297e-05/0.5333, allocations: 33.73 kB / 400.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.5333, allocations: 0 / 400.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.413/2.946, allocations: 2.161 MB / 403 MB, free: 6.41 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat