Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.056/2.056, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.455e-05/2.449e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 48.7 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.391/0.4915, allocations: 75.37 MB / 391.7 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.4918, allocations: 71.06 kB / 391.7 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01648/0.5083, allocations: 3.926 MB / 395.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5083, allocations: 0 / 395.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.5084, allocations: 4 kB / 395.7 MB, free: 13.67 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.0004934/0.5089, allocations: 411 kB / 396.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.5089, allocations: 16.02 kB / 396.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.509, allocations: 11.84 kB / 396.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.5093, allocations: 197.8 kB / 396.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.5093, allocations: 3.984 kB / 396.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.5094, allocations: 7.984 kB / 396.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.212e-05/0.5094, allocations: 11.38 kB / 396.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.52e-05/0.5095, allocations: 41.19 kB / 396.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.5096, allocations: 3.984 kB / 396.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.5096, allocations: 0 / 396.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5096, allocations: 4 kB / 396.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.51, allocations: 274 kB / 396.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.5102, allocations: 37.81 kB / 396.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.5103, allocations: 12.36 kB / 396.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.5103, allocations: 4 kB / 396.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.5105, allocations: 58.8 kB / 396.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.944e-06/0.5105, allocations: 0 / 396.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004157/0.5109, allocations: 102.7 kB / 396.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.5109, allocations: 51.41 kB / 396.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.5112, allocations: 149.5 kB / 397 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.5112, allocations: 29.7 kB / 397.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.5113, allocations: 157.6 kB / 397.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.5113, allocations: 15.62 kB / 397.2 MB, free: 12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.5113, allocations: 4 kB / 397.2 MB, free: 12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5115, allocations: 318.8 kB / 397.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.5115, allocations: 18.88 kB / 397.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.5116, allocations: 19.62 kB / 397.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.026e-05/0.5117, allocations: 26.98 kB / 397.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.5117, allocations: 0 / 397.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002278/0.5119, allocations: 87.12 kB / 397.7 MB, free: 11.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.512, allocations: 33.69 kB / 397.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.512, allocations: 160 / 397.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.5121, allocations: 11.94 kB / 397.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.453e-05/0.5121, allocations: 8 kB / 397.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.5122, allocations: 4 kB / 397.8 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.5122, allocations: 3.953 kB / 397.8 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.5123, allocations: 7.5 kB / 397.8 MB, free: 11.49 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 8.678e-05/0.5124, allocations: 112.9 kB / 397.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000152/0.5125, allocations: 65.22 kB / 397.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.5126, allocations: 7.906 kB / 398 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.5128, allocations: 86.23 kB / 398 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5128, allocations: 7.891 kB / 398 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5128, allocations: 0 / 398 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5129, allocations: 0 / 398 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.5133, allocations: 323.1 kB / 398.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5133, allocations: 0 / 398.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.5133, allocations: 4 kB / 398.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.5134, allocations: 4 kB / 398.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.5134, allocations: 3.953 kB / 398.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5134, allocations: 0 / 398.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.5134, allocations: 11.97 kB / 398.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.5136, allocations: 177.4 kB / 398.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.5137, allocations: 85.02 kB / 398.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.5138, allocations: 7.984 kB / 398.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.5139, allocations: 4.094 kB / 398.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.5139, allocations: 7.984 kB / 398.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.5139, allocations: 4 kB / 398.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.5141, allocations: 121.2 kB / 398.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5141, allocations: 0 / 398.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003903/0.5145, allocations: 31.94 kB / 398.8 MB, free: 10.42 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.001216/0.5157, allocations: 0.9106 MB / 399.7 MB, free: 9.539 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.5159, allocations: 105 kB / 399.8 MB, free: 9.441 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.516, allocations: 0 / 399.8 MB, free: 9.441 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.201e-05/0.516, allocations: 22.81 kB / 399.9 MB, free: 9.426 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.5163, allocations: 15.94 kB / 399.9 MB, free: 9.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.517, allocations: 206.2 kB / 400.1 MB, free: 9.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.5173, allocations: 0.6963 MB / 400.8 MB, free: 8.457 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.336e-05/0.5174, allocations: 25.73 kB / 400.8 MB, free: 8.441 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5174, allocations: 4 kB / 400.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.713/3.231, allocations: 2.079 MB / 402.9 MB, free: 6.367 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat