Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.938e-05, allocations: 8 kB / 267.6 MB, free: 5.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 48.7 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4076/0.5132, allocations: 75.59 MB / 391.9 MB, free: 0.707 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.5135, allocations: 76.67 kB / 392 MB, free: 0.668 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02108/0.5346, allocations: 4.65 MB / 396.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5347, allocations: 0 / 396.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.5347, allocations: 0 / 396.6 MB, free: 12.96 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.0005901/0.5353, allocations: 418.5 kB / 397 MB, free: 12.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5354, allocations: 8.031 kB / 397 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.5354, allocations: 7.906 kB / 397 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.5357, allocations: 189 kB / 397.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.5358, allocations: 8 kB / 397.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.5358, allocations: 4 kB / 397.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.36e-05/0.5359, allocations: 14.73 kB / 397.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.536, allocations: 56.84 kB / 397.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.5361, allocations: 0 / 397.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.5361, allocations: 7.875 kB / 397.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5361, allocations: 0 / 397.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.5365, allocations: 258 kB / 397.6 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.5368, allocations: 45.12 kB / 397.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.459e-05/0.5369, allocations: 8.859 kB / 397.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.5369, allocations: 0 / 397.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.537, allocations: 65.86 kB / 397.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.5371, allocations: 0 / 397.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004763/0.5375, allocations: 95.92 kB / 397.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.5376, allocations: 84.61 kB / 397.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.5378, allocations: 130 kB / 398 MB, free: 11.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.5378, allocations: 25.7 kB / 398 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.5379, allocations: 157.9 kB / 398.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.538, allocations: 18.56 kB / 398.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.538, allocations: 0 / 398.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5381, allocations: 317.6 kB / 398.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.415e-05/0.5382, allocations: 21.8 kB / 398.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.427e-05/0.5383, allocations: 40.47 kB / 398.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.834e-05/0.5384, allocations: 21.61 kB / 398.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5384, allocations: 0 / 398.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002352/0.5386, allocations: 77.94 kB / 398.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/0.5387, allocations: 37.14 kB / 398.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5387, allocations: 3.938 kB / 398.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.5387, allocations: 3.984 kB / 398.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.5388, allocations: 8 kB / 398.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.5389, allocations: 0 / 398.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.091e-05/0.539, allocations: 8.031 kB / 398.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.539, allocations: 7.469 kB / 398.7 MB, free: 10.75 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.5391, allocations: 108.9 kB / 398.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001715/0.5393, allocations: 72.83 kB / 398.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.5393, allocations: 7.906 kB / 398.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.5396, allocations: 84.2 kB / 399 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5396, allocations: 0 / 399 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5396, allocations: 4 kB / 399 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.5396, allocations: 3.953 kB / 399 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.5401, allocations: 316.4 kB / 399.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5401, allocations: 4.203 kB / 399.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/0.5402, allocations: 11.94 kB / 399.3 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.5402, allocations: 3.984 kB / 399.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.5402, allocations: 0 / 399.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5402, allocations: 0 / 399.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.5402, allocations: 3.953 kB / 399.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.5405, allocations: 175.9 kB / 399.5 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.5405, allocations: 83.7 kB / 399.6 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.5406, allocations: 4 kB / 399.6 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5407, allocations: 3.984 kB / 399.6 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.5408, allocations: 7.953 kB / 399.6 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.5408, allocations: 0 / 399.6 MB, free: 9.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.5409, allocations: 105.4 kB / 399.7 MB, free: 9.738 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5409, allocations: 0 / 399.7 MB, free: 9.738 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004612/0.5414, allocations: 51.23 kB / 399.8 MB, free: 9.691 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.001555/0.543, allocations: 0.9782 MB / 400.7 MB, free: 8.742 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002779/0.5433, allocations: 104.8 kB / 400.8 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.5433, allocations: 6.938 kB / 400.8 MB, free: 8.637 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.986e-05/0.5434, allocations: 15.44 kB / 400.9 MB, free: 8.625 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.5437, allocations: 15.48 kB / 400.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.546, allocations: 0.6245 MB / 401.5 MB, free: 8.211 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.5463, allocations: 0.6962 MB / 402.2 MB, free: 7.488 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.5464, allocations: 26.8 kB / 402.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5465, allocations: 0 / 402.2 MB, free: 7.469 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.813/3.36, allocations: 2.272 MB / 404.5 MB, free: 5.207 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat