Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.999/1.999, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.754e-05/2.765e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.138, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5468/0.6849, allocations: 75.32 MB / 391.6 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.6852, allocations: 77.48 kB / 391.7 MB, free: 0.957 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01644/0.7016, allocations: 3.796 MB / 395.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.7017, allocations: 0 / 395.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.7017, allocations: 0 / 395.5 MB, free: 13.79 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.000535/0.7023, allocations: 405.9 kB / 395.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.7023, allocations: 8.031 kB / 395.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.7024, allocations: 7.906 kB / 395.9 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.7027, allocations: 206.2 kB / 396.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.7027, allocations: 0 / 396.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.7028, allocations: 4 kB / 396.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.901e-05/0.7028, allocations: 18.36 kB / 396.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.634e-05/0.703, allocations: 40.62 kB / 396.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.703, allocations: 0 / 396.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.703, allocations: 0 / 396.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.703, allocations: 4 kB / 396.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.7034, allocations: 264.4 kB / 396.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.7037, allocations: 42.12 kB / 396.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.7037, allocations: 12.61 kB / 396.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.7038, allocations: 0 / 396.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.7039, allocations: 62.48 kB / 396.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.7039, allocations: 0 / 396.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004924/0.7044, allocations: 102.6 kB / 396.7 MB, free: 12.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.7045, allocations: 55.41 kB / 396.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.7047, allocations: 137.6 kB / 396.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.7047, allocations: 29.7 kB / 396.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.7048, allocations: 157.2 kB / 397 MB, free: 12.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.7048, allocations: 15.75 kB / 397 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.7049, allocations: 0 / 397 MB, free: 12.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.705, allocations: 326 kB / 397.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.136e-05/0.7051, allocations: 14.69 kB / 397.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.712e-05/0.7051, allocations: 22.62 kB / 397.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.046e-05/0.7052, allocations: 29.55 kB / 397.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7052, allocations: 0 / 397.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002439/0.7055, allocations: 91.97 kB / 397.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.7056, allocations: 33.69 kB / 397.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7056, allocations: 4 kB / 397.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7056, allocations: 0 / 397.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.714e-05/0.7057, allocations: 8 kB / 397.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.7057, allocations: 0 / 397.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.068e-05/0.7058, allocations: 4.062 kB / 397.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.7058, allocations: 11.12 kB / 397.6 MB, free: 11.62 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 0.0001069/0.7059, allocations: 112.9 kB / 397.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001638/0.7061, allocations: 72.28 kB / 397.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.7061, allocations: 144 / 397.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.7064, allocations: 91.16 kB / 397.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7064, allocations: 0 / 397.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7064, allocations: 96 / 397.8 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.7065, allocations: 7.891 kB / 397.9 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.7069, allocations: 327.3 kB / 398.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7069, allocations: 0 / 398.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.707, allocations: 8 kB / 398.2 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.707, allocations: 0 / 398.2 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.707, allocations: 0 / 398.2 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.707, allocations: 0 / 398.2 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.707, allocations: 3.953 kB / 398.2 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.7073, allocations: 175.8 kB / 398.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.7074, allocations: 85.02 kB / 398.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.7074, allocations: 0 / 398.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.7075, allocations: 4.188 kB / 398.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.7076, allocations: 11.94 kB / 398.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.7076, allocations: 8 kB / 398.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.7077, allocations: 108 kB / 398.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7077, allocations: 0 / 398.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004097/0.7082, allocations: 31.94 kB / 398.6 MB, free: 10.57 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.001282/0.7095, allocations: 0.9079 MB / 399.5 MB, free: 9.691 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.7097, allocations: 110.6 kB / 399.6 MB, free: 9.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7098, allocations: 0 / 399.6 MB, free: 9.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.144e-05/0.7098, allocations: 19.55 kB / 399.6 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.7102, allocations: 19.23 kB / 399.7 MB, free: 9.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/0.7108, allocations: 195.3 kB / 399.8 MB, free: 9.336 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.7111, allocations: 0.6963 MB / 400.5 MB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.7112, allocations: 26.38 kB / 400.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of SimCode: time 9.01e-07/0.7112, allocations: 0 / 400.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.669/3.38, allocations: 2.02 MB / 402.6 MB, free: 6.582 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat