Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.866/1.866, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.449e-05, allocations: 4 kB / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3879/0.4957, allocations: 75.57 MB / 391.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.496, allocations: 76.23 kB / 392 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.019/0.515, allocations: 4.653 MB / 396.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.515, allocations: 0 / 396.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.5151, allocations: 0 / 396.6 MB, free: 13.25 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.0005019/0.5156, allocations: 415.7 kB / 397 MB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.5156, allocations: 8.031 kB / 397 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.5157, allocations: 7.906 kB / 397 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.516, allocations: 190.8 kB / 397.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.516, allocations: 4 kB / 397.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.5161, allocations: 4 kB / 397.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.426e-05/0.5161, allocations: 19.73 kB / 397.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.5163, allocations: 59.16 kB / 397.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5163, allocations: 0 / 397.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5163, allocations: 0 / 397.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5163, allocations: 0 / 397.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.5167, allocations: 263.9 kB / 397.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.517, allocations: 42.5 kB / 397.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.517, allocations: 12.73 kB / 397.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.5171, allocations: 4 kB / 397.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.5172, allocations: 59.23 kB / 397.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.844e-06/0.5172, allocations: 0 / 397.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004113/0.5176, allocations: 96.42 kB / 397.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.5177, allocations: 81.11 kB / 397.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.5179, allocations: 124.4 kB / 398 MB, free: 11.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.5179, allocations: 33.58 kB / 398 MB, free: 11.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.518, allocations: 154.4 kB / 398.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.518, allocations: 19.73 kB / 398.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.5181, allocations: 0 / 398.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.5182, allocations: 322.7 kB / 398.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.649e-05/0.5183, allocations: 19.81 kB / 398.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.5184, allocations: 37.52 kB / 398.5 MB, free: 11.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.08e-05/0.5184, allocations: 19.48 kB / 398.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.5185, allocations: 4 kB / 398.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002242/0.5187, allocations: 81.25 kB / 398.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.5188, allocations: 36.05 kB / 398.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.5188, allocations: 0 / 398.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.5188, allocations: 0 / 398.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.5189, allocations: 12.08 kB / 398.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.5189, allocations: 3.938 kB / 398.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.519, allocations: 8.031 kB / 398.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.519, allocations: 4 kB / 398.7 MB, free: 11.04 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.0001038/0.5191, allocations: 104.9 kB / 398.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001645/0.5193, allocations: 76.91 kB / 398.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.5193, allocations: 7.906 kB / 398.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.5196, allocations: 81 kB / 399 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5196, allocations: 4 kB / 399 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5196, allocations: 0 / 399 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5196, allocations: 7.953 kB / 399 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.5201, allocations: 310.5 kB / 399.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/0.5201, allocations: 4.203 kB / 399.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.5202, allocations: 11.98 kB / 399.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.5202, allocations: 3.984 kB / 399.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.5202, allocations: 0 / 399.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5202, allocations: 0 / 399.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.5202, allocations: 3.953 kB / 399.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.5205, allocations: 174.4 kB / 399.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.081e-05/0.5205, allocations: 88.95 kB / 399.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.5206, allocations: 0 / 399.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.5207, allocations: 0 / 399.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.5207, allocations: 11.94 kB / 399.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.5208, allocations: 0 / 399.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.5209, allocations: 109 kB / 399.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5209, allocations: 0 / 399.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004439/0.5213, allocations: 43.88 kB / 399.7 MB, free: 9.996 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.001471/0.5228, allocations: 0.9829 MB / 400.7 MB, free: 9.043 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.5231, allocations: 110.2 kB / 400.8 MB, free: 8.941 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5231, allocations: 0 / 400.8 MB, free: 8.941 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.486e-05/0.5232, allocations: 19.73 kB / 400.8 MB, free: 8.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.5235, allocations: 16.11 kB / 400.9 MB, free: 8.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.5254, allocations: 0.6313 MB / 401.5 MB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.5258, allocations: 0.6924 MB / 402.2 MB, free: 7.785 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.5259, allocations: 26.55 kB / 402.2 MB, free: 7.766 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5259, allocations: 4 kB / 402.2 MB, free: 7.762 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.598/3.124, allocations: 2.267 MB / 404.5 MB, free: 5.504 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat