Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.065/2.065, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.638e-05/2.648e-05, allocations: 8 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.102, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.399/0.5011, allocations: 75.34 MB / 391.6 MB, free: 0.957 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.5014, allocations: 69.23 kB / 391.7 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01615/0.5175, allocations: 3.926 MB / 395.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5176, allocations: 0 / 395.6 MB, free: 13.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.5176, allocations: 0 / 395.6 MB, free: 13.64 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.0004979/0.5181, allocations: 422.2 kB / 396.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.5182, allocations: 16.03 kB / 396.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.5182, allocations: 7.906 kB / 396.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.5185, allocations: 201.5 kB / 396.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.5185, allocations: 0 / 396.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.5186, allocations: 4 kB / 396.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.542e-05/0.5187, allocations: 15.36 kB / 396.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.704e-05/0.5188, allocations: 45.06 kB / 396.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5188, allocations: 0 / 396.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5188, allocations: 0 / 396.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5188, allocations: 0 / 396.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.5192, allocations: 272.4 kB / 396.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.5195, allocations: 44.88 kB / 396.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.5195, allocations: 12.94 kB / 396.7 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.5195, allocations: 0 / 396.7 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.5197, allocations: 61.03 kB / 396.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.764e-06/0.5197, allocations: 4 kB / 396.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004052/0.5201, allocations: 102.9 kB / 396.8 MB, free: 12.35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.5202, allocations: 55.39 kB / 396.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.5204, allocations: 165.8 kB / 397 MB, free: 12.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.5205, allocations: 33.64 kB / 397.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.5205, allocations: 158 kB / 397.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.5206, allocations: 19.67 kB / 397.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.5206, allocations: 0 / 397.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5207, allocations: 318.8 kB / 397.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/0.5208, allocations: 19.69 kB / 397.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.5209, allocations: 19.5 kB / 397.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.615e-05/0.521, allocations: 27.67 kB / 397.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.521, allocations: 0 / 397.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002277/0.5212, allocations: 95.73 kB / 397.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.5213, allocations: 29.7 kB / 397.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5213, allocations: 3.984 kB / 397.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.5213, allocations: 4 kB / 397.8 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.5214, allocations: 4 kB / 397.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.5214, allocations: 8 kB / 397.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.5215, allocations: 7.922 kB / 397.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.5215, allocations: 4 kB / 397.8 MB, free: 11.41 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.051e-05/0.5216, allocations: 108.9 kB / 397.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001593/0.5218, allocations: 76.09 kB / 398 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.5218, allocations: 8 kB / 398 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.5221, allocations: 87.78 kB / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5221, allocations: 0 / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5221, allocations: 4.188 kB / 398.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.5221, allocations: 7.938 kB / 398.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.5225, allocations: 338.5 kB / 398.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.5225, allocations: 4 kB / 398.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.5226, allocations: 4 kB / 398.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5226, allocations: 0 / 398.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.5226, allocations: 4 kB / 398.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5226, allocations: 0 / 398.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.5227, allocations: 3.953 kB / 398.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.5229, allocations: 169.9 kB / 398.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.523, allocations: 92.95 kB / 398.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.523, allocations: 0 / 398.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.5231, allocations: 4 kB / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.5232, allocations: 7.938 kB / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.5232, allocations: 4 kB / 398.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.5233, allocations: 133.2 kB / 398.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5233, allocations: 4 kB / 398.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004043/0.5237, allocations: 31.94 kB / 398.8 MB, free: 10.32 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.001225/0.525, allocations: 0.9115 MB / 399.8 MB, free: 9.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.5252, allocations: 110.8 kB / 399.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5252, allocations: 0 / 399.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.495e-05/0.5253, allocations: 15.75 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.0002923/0.5256, allocations: 15.73 kB / 399.9 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/0.5262, allocations: 231.5 kB / 400.1 MB, free: 9.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.5266, allocations: 0.7118 MB / 400.8 MB, free: 8.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/0.5266, allocations: 28 kB / 400.9 MB, free: 8.316 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5267, allocations: 0 / 400.9 MB, free: 8.316 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.552/3.079, allocations: 2.212 MB / 403.1 MB, free: 6.109 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat