Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.125/2.125, allocations: 209.4 MB / 216.9 MB, free: 6.73 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.403e-05, allocations: 4 kB / 267.6 MB, free: 5.398 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 48.7 MB / 316.3 MB, free: 4.602 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.5572, allocations: 75.34 MB / 391.6 MB, free: 1.266 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.5576, allocations: 77.83 kB / 391.7 MB, free: 1.227 MB / 314.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02452/0.5821, allocations: 4.107 MB / 395.8 MB, free: 13.77 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5822, allocations: 4 kB / 395.8 MB, free: 13.77 MB / 330.8 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.5823, allocations: 4 kB / 395.8 MB, free: 13.76 MB / 330.8 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.0007411/0.583, allocations: 415.6 kB / 396.2 MB, free: 13.31 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.5831, allocations: 8.031 kB / 396.3 MB, free: 13.3 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.5832, allocations: 7.906 kB / 396.3 MB, free: 13.3 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.5836, allocations: 206.5 kB / 396.5 MB, free: 13.06 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.5837, allocations: 3.938 kB / 396.5 MB, free: 13.05 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.5837, allocations: 4 kB / 396.5 MB, free: 13.05 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001041/0.5838, allocations: 11.94 kB / 396.5 MB, free: 13.04 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.584, allocations: 53.41 kB / 396.5 MB, free: 12.99 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.584, allocations: 0 / 396.5 MB, free: 12.99 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.5841, allocations: 0 / 396.5 MB, free: 12.99 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.5841, allocations: 0 / 396.5 MB, free: 12.99 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.5847, allocations: 278.8 kB / 396.8 MB, free: 12.7 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.5851, allocations: 37.89 kB / 396.8 MB, free: 12.66 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.5852, allocations: 20.12 kB / 396.9 MB, free: 12.64 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.5852, allocations: 0 / 396.9 MB, free: 12.64 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.5854, allocations: 54.28 kB / 396.9 MB, free: 12.57 MB / 330.8 MB Notification: Performance of pre-optimization done (n=4): time 2.815e-06/0.5854, allocations: 0 / 396.9 MB, free: 12.57 MB / 330.8 MB Notification: Performance of matching and sorting (n=5): time 0.0006644/0.5861, allocations: 110.8 kB / 397 MB, free: 12.47 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.5862, allocations: 51.41 kB / 397.1 MB, free: 12.41 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.5866, allocations: 178.3 kB / 397.2 MB, free: 12.25 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.5866, allocations: 29.7 kB / 397.3 MB, free: 12.22 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.5868, allocations: 167.9 kB / 397.4 MB, free: 12.06 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.5868, allocations: 15 kB / 397.5 MB, free: 12.05 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.5869, allocations: 0 / 397.5 MB, free: 12.05 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.587, allocations: 314.8 kB / 397.8 MB, free: 11.73 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.379e-05/0.5872, allocations: 22.56 kB / 397.8 MB, free: 11.72 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-05/0.5873, allocations: 25.98 kB / 397.8 MB, free: 11.7 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.5874, allocations: 18.62 kB / 397.8 MB, free: 11.69 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5874, allocations: 0 / 397.8 MB, free: 11.69 MB / 330.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004087/0.5879, allocations: 98.55 kB / 397.9 MB, free: 11.61 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.246e-05/0.5879, allocations: 29.7 kB / 398 MB, free: 11.57 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.588, allocations: 0 / 398 MB, free: 11.57 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.588, allocations: 0 / 398 MB, free: 11.57 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.5882, allocations: 11.98 kB / 398 MB, free: 11.56 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.5882, allocations: 4 kB / 398 MB, free: 11.55 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.5883, allocations: 0 / 398 MB, free: 11.55 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.5884, allocations: 4 kB / 398 MB, free: 11.55 MB / 330.8 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 0.0001361/0.5885, allocations: 108.9 kB / 398.1 MB, free: 11.44 MB / 330.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002694/0.5888, allocations: 79.72 kB / 398.2 MB, free: 11.36 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.5889, allocations: 19.83 kB / 398.2 MB, free: 11.34 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.5893, allocations: 84.08 kB / 398.3 MB, free: 11.27 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.5893, allocations: 0 / 398.3 MB, free: 11.27 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5893, allocations: 192 / 398.3 MB, free: 11.27 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.5893, allocations: 3.953 kB / 398.3 MB, free: 11.27 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007065/0.59, allocations: 334.7 kB / 398.6 MB, free: 10.92 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.5901, allocations: 0 / 398.6 MB, free: 10.92 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.5902, allocations: 11.98 kB / 398.6 MB, free: 10.91 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.5902, allocations: 4 kB / 398.6 MB, free: 10.9 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.5903, allocations: 3.188 kB / 398.6 MB, free: 10.9 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.5903, allocations: 4 kB / 398.6 MB, free: 10.9 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.5903, allocations: 3.953 kB / 398.6 MB, free: 10.89 MB / 330.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.5907, allocations: 168.6 kB / 398.8 MB, free: 10.72 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.5908, allocations: 96 kB / 398.9 MB, free: 10.61 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.5909, allocations: 0 / 398.9 MB, free: 10.61 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.5911, allocations: 8 kB / 398.9 MB, free: 10.61 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.5911, allocations: 7.938 kB / 398.9 MB, free: 10.6 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.5912, allocations: 4 kB / 398.9 MB, free: 10.59 MB / 330.8 MB Notification: Performance of sorting global known variables: time 0.0002603/0.5914, allocations: 141.6 kB / 399 MB, free: 10.48 MB / 330.8 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5915, allocations: 0 / 399 MB, free: 10.48 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.0006912/0.5922, allocations: 39.88 kB / 399.1 MB, free: 10.44 MB / 330.8 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.001916/0.5941, allocations: 0.9158 MB / 400 MB, free: 9.555 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0003727/0.5945, allocations: 107.3 kB / 400.1 MB, free: 9.457 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5946, allocations: 0 / 400.1 MB, free: 9.457 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.5946, allocations: 17.94 kB / 400.1 MB, free: 9.441 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.5952, allocations: 15.42 kB / 400.1 MB, free: 9.43 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.5965, allocations: 252.1 kB / 400.4 MB, free: 9.156 MB / 330.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.597, allocations: 0.7041 MB / 401.1 MB, free: 8.426 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.5972, allocations: 29.55 kB / 401.1 MB, free: 8.41 MB / 330.8 MB Notification: Performance of SimCode: time 1.493e-06/0.5972, allocations: 0 / 401.1 MB, free: 8.41 MB / 330.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.563/3.16, allocations: 2.282 MB / 403.4 MB, free: 6.133 MB / 330.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat