Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.056/2.056, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.151e-05, allocations: 7.984 kB / 267.6 MB, free: 5.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 48.69 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3962/0.5007, allocations: 75.19 MB / 391.5 MB, free: 1.336 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.501, allocations: 73.81 kB / 391.6 MB, free: 1.297 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01732/0.5183, allocations: 4.097 MB / 395.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5184, allocations: 0 / 395.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.5184, allocations: 4 kB / 395.7 MB, free: 13.82 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005575/0.519, allocations: 423.6 kB / 396.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.519, allocations: 8.031 kB / 396.1 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.5191, allocations: 15.91 kB / 396.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.5195, allocations: 214.3 kB / 396.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.5195, allocations: 0 / 396.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.5195, allocations: 3.938 kB / 396.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.944e-05/0.5196, allocations: 15.86 kB / 396.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.319e-05/0.5197, allocations: 33.69 kB / 396.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5198, allocations: 4 kB / 396.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5198, allocations: 0 / 396.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.5198, allocations: 0 / 396.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.52, allocations: 181.8 kB / 396.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.877e-05/0.5201, allocations: 26.33 kB / 396.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.5202, allocations: 8.922 kB / 396.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.5202, allocations: 0 / 396.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.5203, allocations: 59.33 kB / 396.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.824e-06/0.5204, allocations: 0 / 396.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002348/0.5206, allocations: 69.03 kB / 396.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.5207, allocations: 51.41 kB / 396.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.521, allocations: 217.5 kB / 397 MB, free: 12.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.521, allocations: 25.7 kB / 397 MB, free: 12.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.425e-05/0.5211, allocations: 169.4 kB / 397.2 MB, free: 12.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.5212, allocations: 15.77 kB / 397.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-06/0.5212, allocations: 0 / 397.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5213, allocations: 314.8 kB / 397.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.5214, allocations: 15.75 kB / 397.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.248e-05/0.5215, allocations: 15.94 kB / 397.5 MB, free: 11.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.785e-05/0.5216, allocations: 23.42 kB / 397.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5216, allocations: 3.953 kB / 397.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000214/0.5218, allocations: 73.3 kB / 397.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.062e-05/0.5219, allocations: 33.69 kB / 397.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.5219, allocations: 4 kB / 397.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.5219, allocations: 0 / 397.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.522, allocations: 11.88 kB / 397.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.522, allocations: 0 / 397.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.375e-05/0.5221, allocations: 4 kB / 397.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.5221, allocations: 8 kB / 397.7 MB, free: 11.72 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 (5): * Single equations (assignments): 4 * 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.828e-05/0.5222, allocations: 104.7 kB / 397.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001435/0.5224, allocations: 69.25 kB / 397.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.5224, allocations: 11.91 kB / 397.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.5227, allocations: 74.98 kB / 397.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.5227, allocations: 0 / 397.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5227, allocations: 3.938 kB / 397.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.5227, allocations: 144 / 397.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.5229, allocations: 177.4 kB / 398.1 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5229, allocations: 8.125 kB / 398.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.523, allocations: 7.984 kB / 398.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.523, allocations: 3.984 kB / 398.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.523, allocations: 0 / 398.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.523, allocations: 0 / 398.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.523, allocations: 0 / 398.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.5232, allocations: 88.69 kB / 398.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.5234, allocations: 101 kB / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.5234, allocations: 4 kB / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.692e-05/0.5235, allocations: 4 kB / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.5235, allocations: 0 / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.5236, allocations: 3.984 kB / 398.3 MB, free: 11.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002449/0.5238, allocations: 175.9 kB / 398.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5238, allocations: 0 / 398.5 MB, free: 10.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003721/0.5242, allocations: 42.64 kB / 398.5 MB, free: 10.83 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 (4): * Single equations (assignments): 3 * 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.001178/0.5254, allocations: 0.7951 MB / 399.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.5256, allocations: 96.41 kB / 399.4 MB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5256, allocations: 0 / 399.4 MB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.5257, allocations: 15.92 kB / 399.4 MB, free: 9.961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.526, allocations: 15.62 kB / 399.5 MB, free: 9.945 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/0.5268, allocations: 282.3 kB / 399.7 MB, free: 9.645 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.5271, allocations: 0.7109 MB / 400.4 MB, free: 8.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/0.5272, allocations: 32.05 kB / 400.5 MB, free: 8.895 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5273, allocations: 4 kB / 400.5 MB, free: 8.891 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.661/3.188, allocations: 2.328 MB / 402.8 MB, free: 6.574 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat