Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.917/1.917, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.548e-05, allocations: 4 kB / 267.6 MB, free: 5.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 48.7 MB / 316.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3982/0.4997, allocations: 75.36 MB / 391.7 MB, free: 1.184 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.5, allocations: 68.78 kB / 391.7 MB, free: 1.148 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01735/0.5173, allocations: 3.981 MB / 395.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5174, allocations: 4 kB / 395.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.5174, allocations: 0 / 395.7 MB, free: 13.81 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.0005452/0.518, allocations: 419.5 kB / 396.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.518, allocations: 8.031 kB / 396.1 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.5181, allocations: 11.91 kB / 396.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.5184, allocations: 190.9 kB / 396.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.5184, allocations: 0 / 396.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.5185, allocations: 7.906 kB / 396.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.477e-05/0.5185, allocations: 11.56 kB / 396.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.824e-05/0.5187, allocations: 53.23 kB / 396.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.5187, allocations: 0 / 396.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.5187, allocations: 3.984 kB / 396.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5187, allocations: 0 / 396.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.5192, allocations: 264.5 kB / 396.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.5194, allocations: 42.44 kB / 396.7 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.5195, allocations: 20.55 kB / 396.7 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.5195, allocations: 3.984 kB / 396.7 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.5196, allocations: 59.36 kB / 396.8 MB, free: 12.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.5197, allocations: 0 / 396.8 MB, free: 12.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000449/0.5201, allocations: 104.7 kB / 396.9 MB, free: 12.53 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.5202, allocations: 51.41 kB / 396.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.5204, allocations: 148.8 kB / 397.1 MB, free: 12.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.5204, allocations: 37.69 kB / 397.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.5205, allocations: 161.6 kB / 397.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.5206, allocations: 15.75 kB / 397.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.5206, allocations: 0 / 397.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5207, allocations: 310.8 kB / 397.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.5208, allocations: 27.55 kB / 397.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.5209, allocations: 19.5 kB / 397.7 MB, free: 11.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.5209, allocations: 27.3 kB / 397.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.521, allocations: 0 / 397.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002488/0.5212, allocations: 92.97 kB / 397.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.5213, allocations: 37.58 kB / 397.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5213, allocations: 4 kB / 397.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.5213, allocations: 3.984 kB / 397.8 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.5214, allocations: 8 kB / 397.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.5214, allocations: 0 / 397.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.5215, allocations: 3.953 kB / 397.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.5216, allocations: 4 kB / 397.8 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 9.578e-05/0.5217, allocations: 107.7 kB / 397.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001627/0.5218, allocations: 77.45 kB / 398 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.5219, allocations: 7.906 kB / 398 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.5222, allocations: 85.75 kB / 398.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5222, allocations: 11.89 kB / 398.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5222, allocations: 192 / 398.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5222, allocations: 0 / 398.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.5227, allocations: 326.1 kB / 398.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5227, allocations: 0 / 398.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.383e-05/0.5228, allocations: 7.938 kB / 398.4 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.5228, allocations: 8 kB / 398.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.5228, allocations: 3.953 kB / 398.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.5228, allocations: 3.984 kB / 398.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5228, allocations: 0 / 398.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.5231, allocations: 167.2 kB / 398.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.5231, allocations: 85.02 kB / 398.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.5232, allocations: 3.984 kB / 398.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.5233, allocations: 11.95 kB / 398.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.5234, allocations: 3.812 kB / 398.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.5234, allocations: 4 kB / 398.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001333/0.5236, allocations: 126.9 kB / 398.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5236, allocations: 0 / 398.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004093/0.524, allocations: 31.94 kB / 398.9 MB, free: 10.55 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.001258/0.5253, allocations: 0.9162 MB / 399.8 MB, free: 9.664 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.5256, allocations: 106.6 kB / 399.9 MB, free: 9.562 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5256, allocations: 0 / 399.9 MB, free: 9.562 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.089e-05/0.5257, allocations: 19.88 kB / 399.9 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.526, allocations: 24.92 kB / 399.9 MB, free: 9.527 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/0.5267, allocations: 211.4 kB / 400.2 MB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.5271, allocations: 0.704 MB / 400.9 MB, free: 8.562 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.215e-05/0.5272, allocations: 26.11 kB / 400.9 MB, free: 8.547 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5272, allocations: 0 / 400.9 MB, free: 8.547 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.691/3.218, allocations: 2.162 MB / 403 MB, free: 6.391 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat