Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.95/1.95, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.604e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4083/0.5129, allocations: 75.31 MB / 391.6 MB, free: 1.297 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.5132, allocations: 77.64 kB / 391.7 MB, free: 1.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0167/0.5299, allocations: 3.886 MB / 395.6 MB, free: 14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5299, allocations: 0 / 395.6 MB, free: 14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.53, allocations: 4 kB / 395.6 MB, free: 14 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.0005161/0.5305, allocations: 414.9 kB / 396 MB, free: 13.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.5305, allocations: 8.031 kB / 396 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.5306, allocations: 11.91 kB / 396 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.5309, allocations: 200.5 kB / 396.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.5309, allocations: 0 / 396.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.531, allocations: 7.906 kB / 396.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.671e-05/0.5311, allocations: 15.3 kB / 396.2 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.5312, allocations: 44.81 kB / 396.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5312, allocations: 0 / 396.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.5312, allocations: 0 / 396.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.5312, allocations: 3.938 kB / 396.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.5317, allocations: 273.9 kB / 396.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.5319, allocations: 42.31 kB / 396.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.5319, allocations: 12.73 kB / 396.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.532, allocations: 4 kB / 396.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.5321, allocations: 50.69 kB / 396.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.853e-06/0.5321, allocations: 0 / 396.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004369/0.5326, allocations: 119.8 kB / 396.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.5326, allocations: 51.41 kB / 396.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.5328, allocations: 151.4 kB / 397 MB, free: 12.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.5329, allocations: 29.7 kB / 397 MB, free: 12.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.533, allocations: 165.4 kB / 397.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.533, allocations: 11.81 kB / 397.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.533, allocations: 0 / 397.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5331, allocations: 318.6 kB / 397.5 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.283e-05/0.5332, allocations: 18.69 kB / 397.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.704e-05/0.5333, allocations: 18.19 kB / 397.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.236e-05/0.5334, allocations: 29.67 kB / 397.5 MB, free: 11.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5334, allocations: 3.938 kB / 397.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002322/0.5336, allocations: 87.59 kB / 397.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.5337, allocations: 37.69 kB / 397.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5337, allocations: 4 kB / 397.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.5337, allocations: 0 / 397.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.5338, allocations: 11.19 kB / 397.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.5338, allocations: 3.938 kB / 397.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.5339, allocations: 3.953 kB / 397.7 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.5339, allocations: 7.984 kB / 397.7 MB, free: 11.8 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 8.533e-05/0.534, allocations: 105.1 kB / 397.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001734/0.5342, allocations: 76.16 kB / 397.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.5343, allocations: 11.91 kB / 397.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.5345, allocations: 80.27 kB / 398 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.5345, allocations: 8.141 kB / 398 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5346, allocations: 4 kB / 398 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5346, allocations: 0 / 398 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.535, allocations: 323.9 kB / 398.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.535, allocations: 0 / 398.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.5351, allocations: 7.984 kB / 398.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.5351, allocations: 8 kB / 398.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.5352, allocations: 3.953 kB / 398.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5352, allocations: 0 / 398.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5352, allocations: 0 / 398.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.5354, allocations: 172.3 kB / 398.5 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.5355, allocations: 89 kB / 398.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.5355, allocations: 0 / 398.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.611e-05/0.5356, allocations: 7.953 kB / 398.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.5357, allocations: 11.73 kB / 398.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.5357, allocations: 4 kB / 398.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.5358, allocations: 121 kB / 398.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5359, allocations: 0 / 398.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004133/0.5363, allocations: 38.73 kB / 398.8 MB, free: 10.73 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.001247/0.5375, allocations: 0.9143 MB / 399.7 MB, free: 9.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.5378, allocations: 104.7 kB / 399.8 MB, free: 9.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5378, allocations: 0 / 399.8 MB, free: 9.746 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.026e-05/0.5379, allocations: 19.12 kB / 399.8 MB, free: 9.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.5382, allocations: 27.09 kB / 399.8 MB, free: 9.707 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/0.5388, allocations: 209 kB / 400 MB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.5392, allocations: 0.704 MB / 400.7 MB, free: 8.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.649e-05/0.5393, allocations: 27.86 kB / 400.7 MB, free: 8.727 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5393, allocations: 0 / 400.7 MB, free: 8.727 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.61/3.149, allocations: 2.166 MB / 402.9 MB, free: 6.566 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat