Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.06/2.06, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.801e-05/2.804e-05, allocations: 8 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 48.7 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3926/0.4933, allocations: 75.37 MB / 391.7 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4936, allocations: 72.5 kB / 391.7 MB, free: 0.875 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01613/0.5098, allocations: 3.935 MB / 395.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5098, allocations: 4 kB / 395.7 MB, free: 13.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.5098, allocations: 4 kB / 395.7 MB, free: 13.57 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.0004834/0.5103, allocations: 419.5 kB / 396.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.5104, allocations: 8.031 kB / 396.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.5104, allocations: 7.906 kB / 396.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.5107, allocations: 198.4 kB / 396.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.5108, allocations: 3.984 kB / 396.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.5108, allocations: 4 kB / 396.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.17e-05/0.5109, allocations: 15.92 kB / 396.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.273e-05/0.511, allocations: 41.62 kB / 396.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.511, allocations: 0 / 396.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.511, allocations: 4 kB / 396.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.511, allocations: 7.938 kB / 396.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.5114, allocations: 264.4 kB / 396.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.5117, allocations: 46.44 kB / 396.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.5117, allocations: 12.48 kB / 396.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.5118, allocations: 4.078 kB / 396.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.5119, allocations: 55.09 kB / 396.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/0.5119, allocations: 3.938 kB / 396.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004051/0.5123, allocations: 97.23 kB / 396.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.5124, allocations: 55.41 kB / 396.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.5126, allocations: 151.3 kB / 397.1 MB, free: 12.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.5126, allocations: 25.7 kB / 397.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.5127, allocations: 161.8 kB / 397.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.5127, allocations: 11.8 kB / 397.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.5127, allocations: 4 kB / 397.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5129, allocations: 318.8 kB / 397.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.5129, allocations: 19.81 kB / 397.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.712e-05/0.513, allocations: 23.8 kB / 397.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.42e-05/0.5131, allocations: 23.38 kB / 397.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5131, allocations: 0 / 397.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002265/0.5133, allocations: 89.05 kB / 397.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.5134, allocations: 33.7 kB / 397.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.5134, allocations: 0 / 397.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.5134, allocations: 4 kB / 397.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.5135, allocations: 15.92 kB / 397.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.5135, allocations: 0 / 397.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.836e-05/0.5136, allocations: 7.953 kB / 397.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.5136, allocations: 0 / 397.8 MB, free: 11.39 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 7.534e-05/0.5137, allocations: 105 kB / 397.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000156/0.5139, allocations: 73.34 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.5139, allocations: 8 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.5142, allocations: 97.25 kB / 398.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.5142, allocations: 7.953 kB / 398.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5142, allocations: 0 / 398.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5142, allocations: 0 / 398.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.5146, allocations: 318 kB / 398.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5146, allocations: 0 / 398.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.5147, allocations: 11.98 kB / 398.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.5147, allocations: 0 / 398.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.5147, allocations: 7.891 kB / 398.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.5148, allocations: 0 / 398.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5148, allocations: 4 kB / 398.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.515, allocations: 175 kB / 398.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.5151, allocations: 85.16 kB / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.5151, allocations: 0 / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.5153, allocations: 11.94 kB / 398.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.5153, allocations: 7.859 kB / 398.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.5153, allocations: 4 kB / 398.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.5155, allocations: 119.7 kB / 398.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5155, allocations: 0 / 398.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004046/0.5159, allocations: 24 kB / 398.8 MB, free: 10.34 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.001188/0.5171, allocations: 0.9188 MB / 399.7 MB, free: 9.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.5173, allocations: 105.6 kB / 399.8 MB, free: 9.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5173, allocations: 0 / 399.8 MB, free: 9.348 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.769e-05/0.5174, allocations: 19.12 kB / 399.9 MB, free: 9.332 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.5177, allocations: 18.69 kB / 399.9 MB, free: 9.316 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.5183, allocations: 213 kB / 400.1 MB, free: 9.078 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.5186, allocations: 0.6955 MB / 400.8 MB, free: 8.359 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.5187, allocations: 29.23 kB / 400.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5187, allocations: 0 / 400.8 MB, free: 8.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.415/2.934, allocations: 2.082 MB / 402.9 MB, free: 6.266 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat