Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.938/1.938, allocations: 209.4 MB / 216.9 MB, free: 6.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.558e-05, allocations: 10.11 kB / 267.6 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 48.7 MB / 316.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4055/0.5094, allocations: 75.16 MB / 391.5 MB, free: 1.137 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.5098, allocations: 77.84 kB / 391.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0168/0.5266, allocations: 3.838 MB / 395.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.5267, allocations: 0 / 395.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.5267, allocations: 8 kB / 395.4 MB, free: 13.85 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.0005271/0.5272, allocations: 410.7 kB / 395.8 MB, free: 13.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.5273, allocations: 8.031 kB / 395.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.5274, allocations: 11.84 kB / 395.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.5277, allocations: 202.2 kB / 396 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.5277, allocations: 0 / 396 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.5278, allocations: 4 kB / 396 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.399e-05/0.5278, allocations: 15.36 kB / 396 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.926e-05/0.5279, allocations: 44.94 kB / 396.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.528, allocations: 0 / 396.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.528, allocations: 0 / 396.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.528, allocations: 0 / 396.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.5282, allocations: 165.1 kB / 396.2 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.384e-05/0.5283, allocations: 30.06 kB / 396.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.5284, allocations: 12.36 kB / 396.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.5284, allocations: 0 / 396.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.5285, allocations: 54.91 kB / 396.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.5285, allocations: 0 / 396.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002193/0.5288, allocations: 65.45 kB / 396.4 MB, free: 12.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.5288, allocations: 51.41 kB / 396.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.5291, allocations: 173.3 kB / 396.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.5291, allocations: 25.7 kB / 396.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.5292, allocations: 164.8 kB / 396.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.5292, allocations: 11.89 kB / 396.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.5293, allocations: 0 / 396.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5294, allocations: 318.2 kB / 397.1 MB, free: 12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.203e-05/0.5294, allocations: 11.69 kB / 397.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.66e-05/0.5295, allocations: 14.44 kB / 397.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.5296, allocations: 22.36 kB / 397.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.5296, allocations: 7.891 kB / 397.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002051/0.5298, allocations: 79.28 kB / 397.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/0.5299, allocations: 36.03 kB / 397.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5299, allocations: 4 kB / 397.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.53, allocations: 4 kB / 397.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.841e-05/0.5301, allocations: 4 kB / 397.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.5301, allocations: 0 / 397.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/0.5302, allocations: 7.938 kB / 397.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.5302, allocations: 3.984 kB / 397.3 MB, free: 11.82 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.529e-05/0.5303, allocations: 108.7 kB / 397.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001366/0.5304, allocations: 65.02 kB / 397.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.5305, allocations: 7.906 kB / 397.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.5307, allocations: 80.89 kB / 397.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.5307, allocations: 0 / 397.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5307, allocations: 0 / 397.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5307, allocations: 0 / 397.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.5309, allocations: 172.4 kB / 397.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.5309, allocations: 4.109 kB / 397.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.531, allocations: 8 kB / 397.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.531, allocations: 0 / 397.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.531, allocations: 0 / 397.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.531, allocations: 0 / 397.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5311, allocations: 0 / 397.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.5312, allocations: 98.95 kB / 397.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.5313, allocations: 88.97 kB / 397.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.5314, allocations: 4 kB / 397.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.317e-05/0.5314, allocations: 0 / 397.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.5315, allocations: 7.984 kB / 397.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.5315, allocations: 3.438 kB / 397.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.5317, allocations: 136.4 kB / 398.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5317, allocations: 4 kB / 398.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003523/0.5321, allocations: 31.25 kB / 398.1 MB, free: 10.98 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.001156/0.5332, allocations: 0.7878 MB / 398.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.5335, allocations: 111.5 kB / 399 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5335, allocations: 0 / 399 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.625e-05/0.5336, allocations: 15.75 kB / 399 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.5339, allocations: 12.11 kB / 399 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.5346, allocations: 218 kB / 399.2 MB, free: 9.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.5349, allocations: 0.7072 MB / 400 MB, free: 9.113 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.535, allocations: 26.98 kB / 400 MB, free: 9.098 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.535, allocations: 4 kB / 400 MB, free: 9.094 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.496/3.031, allocations: 2.062 MB / 402 MB, free: 7.039 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat