Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.157/2.157, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.309e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1416, allocations: 48.71 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4205/0.5622, allocations: 75.37 MB / 391.7 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.5625, allocations: 79 kB / 391.8 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.017/0.5795, allocations: 4.149 MB / 395.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5795, allocations: 0 / 395.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.5796, allocations: 0 / 395.9 MB, free: 13.38 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.0005545/0.5801, allocations: 429.8 kB / 396.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.5802, allocations: 12.03 kB / 396.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.5803, allocations: 15.88 kB / 396.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.5806, allocations: 202.1 kB / 396.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.5806, allocations: 4 kB / 396.6 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.5807, allocations: 3.438 kB / 396.6 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.298e-05/0.5807, allocations: 12 kB / 396.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.5809, allocations: 48.23 kB / 396.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.5809, allocations: 0 / 396.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.5809, allocations: 4 kB / 396.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.5809, allocations: 0 / 396.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.5814, allocations: 280.2 kB / 396.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.5816, allocations: 48.5 kB / 396.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.5817, allocations: 16.23 kB / 397 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.5817, allocations: 4.078 kB / 397 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.5819, allocations: 54.78 kB / 397 MB, free: 12.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.5819, allocations: 0 / 397 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004316/0.5823, allocations: 102 kB / 397.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.5824, allocations: 55.41 kB / 397.2 MB, free: 12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.5827, allocations: 181.9 kB / 397.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.5827, allocations: 33.69 kB / 397.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.5828, allocations: 168.8 kB / 397.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.5828, allocations: 15.75 kB / 397.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/0.5829, allocations: 0 / 397.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.583, allocations: 318.2 kB / 397.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.5831, allocations: 23.05 kB / 397.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.568e-05/0.5832, allocations: 19.5 kB / 397.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.255e-05/0.5833, allocations: 23.23 kB / 397.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5833, allocations: 3.938 kB / 397.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002312/0.5835, allocations: 88.75 kB / 398 MB, free: 11.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.5836, allocations: 37.33 kB / 398.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5836, allocations: 0 / 398.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5836, allocations: 3.984 kB / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.5837, allocations: 8 kB / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.5837, allocations: 0 / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.5838, allocations: 4 kB / 398.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.5838, allocations: 4 kB / 398.1 MB, free: 11.13 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.554e-05/0.5839, allocations: 112.9 kB / 398.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000168/0.5841, allocations: 76.52 kB / 398.3 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.5842, allocations: 15.91 kB / 398.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.5844, allocations: 94.19 kB / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.5844, allocations: 0 / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5845, allocations: 0 / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5845, allocations: 3.953 kB / 398.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.5849, allocations: 339.6 kB / 398.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.585, allocations: 0 / 398.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.585, allocations: 12 kB / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.585, allocations: 0 / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.5851, allocations: 0 / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5851, allocations: 0 / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.5851, allocations: 3.953 kB / 398.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.5853, allocations: 174.1 kB / 398.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.5854, allocations: 96.91 kB / 399 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.5855, allocations: 3.875 kB / 399 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.5856, allocations: 11.98 kB / 399 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.5857, allocations: 3.953 kB / 399 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.5857, allocations: 4 kB / 399 MB, free: 10.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001762/0.5859, allocations: 151.7 kB / 399.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5859, allocations: 0 / 399.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004009/0.5863, allocations: 35.92 kB / 399.2 MB, free: 10 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.001266/0.5876, allocations: 0.9149 MB / 400.1 MB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002375/0.5879, allocations: 104.5 kB / 400.2 MB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5879, allocations: 0 / 400.2 MB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.53e-05/0.588, allocations: 19.56 kB / 400.2 MB, free: 9.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.5883, allocations: 18.98 kB / 400.3 MB, free: 8.996 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008527/0.5891, allocations: 252.8 kB / 400.5 MB, free: 8.727 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.5895, allocations: 0.7079 MB / 401.2 MB, free: 7.996 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.139e-05/0.5896, allocations: 27.94 kB / 401.2 MB, free: 7.98 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5896, allocations: 0 / 401.2 MB, free: 7.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.518/3.107, allocations: 2.351 MB / 403.6 MB, free: 5.637 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat