Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.165e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4091/0.515, allocations: 75.35 MB / 391.7 MB, free: 1.266 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.5153, allocations: 72.14 kB / 391.7 MB, free: 1.227 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01878/0.5341, allocations: 3.983 MB / 395.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5342, allocations: 0 / 395.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.5342, allocations: 4 kB / 395.7 MB, free: 13.89 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.0005824/0.5348, allocations: 415.3 kB / 396.1 MB, free: 13.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.5348, allocations: 8.031 kB / 396.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.5349, allocations: 11.91 kB / 396.1 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.5352, allocations: 201.6 kB / 396.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.5353, allocations: 3.125 kB / 396.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.5353, allocations: 7.906 kB / 396.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.145e-05/0.5354, allocations: 15.36 kB / 396.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.5355, allocations: 52.86 kB / 396.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.5356, allocations: 0 / 396.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.5356, allocations: 0 / 396.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5356, allocations: 0 / 396.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.5361, allocations: 271 kB / 396.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.5363, allocations: 41.38 kB / 396.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.5364, allocations: 8.859 kB / 396.7 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.5364, allocations: 4 kB / 396.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.5366, allocations: 58.19 kB / 396.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.735e-06/0.5366, allocations: 4 kB / 396.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004923/0.5371, allocations: 103.3 kB / 396.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.5372, allocations: 53.78 kB / 396.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.5374, allocations: 153.9 kB / 397.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.5374, allocations: 25.7 kB / 397.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.5375, allocations: 167.2 kB / 397.3 MB, free: 12.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.5376, allocations: 18.73 kB / 397.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.168e-06/0.5376, allocations: 0 / 397.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5377, allocations: 318.8 kB / 397.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.5378, allocations: 21.19 kB / 397.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.5379, allocations: 18.81 kB / 397.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.018e-05/0.538, allocations: 22.92 kB / 397.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.538, allocations: 3.938 kB / 397.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002822/0.5383, allocations: 94.45 kB / 397.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/0.5383, allocations: 33.7 kB / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5384, allocations: 0 / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.5384, allocations: 0 / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.781e-05/0.5385, allocations: 8 kB / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5385, allocations: 0 / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.055e-05/0.5386, allocations: 16.03 kB / 397.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.5386, allocations: 7.938 kB / 397.8 MB, free: 11.68 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.867e-05/0.5388, allocations: 108.5 kB / 397.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001932/0.539, allocations: 68.28 kB / 398 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.539, allocations: 7.906 kB / 398 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.5393, allocations: 86.77 kB / 398.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5393, allocations: 3.953 kB / 398.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5393, allocations: 4 kB / 398.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5393, allocations: 7.984 kB / 398.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.5398, allocations: 312.5 kB / 398.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5399, allocations: 0 / 398.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.712e-05/0.5399, allocations: 15.92 kB / 398.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.54, allocations: 0 / 398.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.54, allocations: 7.953 kB / 398.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.54, allocations: 0 / 398.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.54, allocations: 0 / 398.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.5403, allocations: 167.6 kB / 398.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.5404, allocations: 93 kB / 398.7 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.5404, allocations: 0 / 398.7 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.5405, allocations: 3.953 kB / 398.7 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.5406, allocations: 7.984 kB / 398.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.5406, allocations: 3.516 kB / 398.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001481/0.5408, allocations: 121.2 kB / 398.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5408, allocations: 0 / 398.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004286/0.5412, allocations: 43.92 kB / 398.9 MB, free: 10.62 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.001401/0.5426, allocations: 0.917 MB / 399.8 MB, free: 9.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002952/0.543, allocations: 109.7 kB / 399.9 MB, free: 9.633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.543, allocations: 0 / 399.9 MB, free: 9.633 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.118e-05/0.5431, allocations: 19.86 kB / 399.9 MB, free: 9.617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.5434, allocations: 19.67 kB / 399.9 MB, free: 9.602 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.5442, allocations: 215.7 kB / 400.1 MB, free: 9.363 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.5445, allocations: 0.704 MB / 400.8 MB, free: 8.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.406e-05/0.5446, allocations: 30.55 kB / 400.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of SimCode: time 1.322e-06/0.5446, allocations: 0 / 400.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.572/3.117, allocations: 2.159 MB / 403 MB, free: 6.461 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat