Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.928/1.928, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.84e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 48.71 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4035/0.5037, allocations: 75.59 MB / 391.9 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.504, allocations: 71.14 kB / 392 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0207/0.5247, allocations: 4.647 MB / 396.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5248, allocations: 4 kB / 396.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.5248, allocations: 0 / 396.6 MB, free: 12.95 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.0005403/0.5254, allocations: 411.7 kB / 397 MB, free: 12.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.5254, allocations: 12.03 kB / 397 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.5255, allocations: 7.906 kB / 397 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.5258, allocations: 194.7 kB / 397.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.5258, allocations: 7.312 kB / 397.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.5259, allocations: 0 / 397.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.597e-05/0.5259, allocations: 11.94 kB / 397.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.5261, allocations: 59.27 kB / 397.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5261, allocations: 0 / 397.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.5261, allocations: 0 / 397.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5261, allocations: 0 / 397.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.5266, allocations: 268.6 kB / 397.6 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.5268, allocations: 45.81 kB / 397.6 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.5268, allocations: 8.859 kB / 397.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.5269, allocations: 0 / 397.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.527, allocations: 62.92 kB / 397.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 5.47e-06/0.527, allocations: 4 kB / 397.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004642/0.5275, allocations: 101 kB / 397.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.5276, allocations: 77.11 kB / 397.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.5278, allocations: 127.3 kB / 398 MB, free: 11.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.5278, allocations: 25.7 kB / 398 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.5279, allocations: 158.5 kB / 398.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.5279, allocations: 23.61 kB / 398.2 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.5279, allocations: 0 / 398.2 MB, free: 11.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5281, allocations: 314.8 kB / 398.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.5281, allocations: 27.5 kB / 398.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.5282, allocations: 37.39 kB / 398.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.092e-05/0.5283, allocations: 15.75 kB / 398.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5283, allocations: 0 / 398.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002269/0.5285, allocations: 81.05 kB / 398.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.5286, allocations: 33.7 kB / 398.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5286, allocations: 0 / 398.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5286, allocations: 0 / 398.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.5288, allocations: 19.86 kB / 398.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5288, allocations: 4.031 kB / 398.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.431e-05/0.5289, allocations: 4 kB / 398.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.5289, allocations: 4 kB / 398.7 MB, free: 10.74 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.4e-05/0.529, allocations: 107.7 kB / 398.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001654/0.5292, allocations: 68.75 kB / 398.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.5292, allocations: 11.84 kB / 398.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.5295, allocations: 81.72 kB / 399 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5295, allocations: 3.984 kB / 399 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.5295, allocations: 11.98 kB / 399 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5295, allocations: 3.953 kB / 399 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.5299, allocations: 313.6 kB / 399.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.53, allocations: 0 / 399.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.53, allocations: 15.92 kB / 399.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.5301, allocations: 0 / 399.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.5301, allocations: 256 / 399.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5301, allocations: 0 / 399.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/0.5301, allocations: 7.953 kB / 399.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.5303, allocations: 170.8 kB / 399.5 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.5304, allocations: 85 kB / 399.6 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.5305, allocations: 4 kB / 399.6 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.5306, allocations: 0 / 399.6 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.5306, allocations: 15.38 kB / 399.6 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.5306, allocations: 0 / 399.6 MB, free: 9.828 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.8e-05/0.5308, allocations: 102.6 kB / 399.7 MB, free: 9.734 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5308, allocations: 4 kB / 399.7 MB, free: 9.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004567/0.5312, allocations: 47.69 kB / 399.8 MB, free: 9.688 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.001503/0.5327, allocations: 0.9819 MB / 400.7 MB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.533, allocations: 98.78 kB / 400.8 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.533, allocations: 0 / 400.8 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/0.5331, allocations: 23.86 kB / 400.9 MB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.5335, allocations: 7.938 kB / 400.9 MB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.5357, allocations: 0.6304 MB / 401.5 MB, free: 8.207 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.536, allocations: 0.7002 MB / 402.2 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.2e-05/0.5361, allocations: 26.42 kB / 402.2 MB, free: 7.465 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5361, allocations: 0 / 402.2 MB, free: 7.465 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.709/3.245, allocations: 2.263 MB / 404.5 MB, free: 5.211 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat