Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.977/1.977, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/2.999e-05, allocations: 8 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4019/0.505, allocations: 75.37 MB / 391.7 MB, free: 0.957 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.5053, allocations: 74.52 kB / 391.8 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01853/0.5239, allocations: 4.1 MB / 395.9 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5239, allocations: 0 / 395.9 MB, free: 13.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.609e-05/0.524, allocations: 8 kB / 395.9 MB, free: 13.46 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.0006523/0.5247, allocations: 419 kB / 396.3 MB, free: 13.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.5247, allocations: 12.03 kB / 396.3 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.5248, allocations: 11.91 kB / 396.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.5251, allocations: 198.3 kB / 396.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.5252, allocations: 3.984 kB / 396.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.5252, allocations: 4 kB / 396.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.529e-05/0.5253, allocations: 19.67 kB / 396.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.5254, allocations: 41.44 kB / 396.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5255, allocations: 0 / 396.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5255, allocations: 0 / 396.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5255, allocations: 0 / 396.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.526, allocations: 277.9 kB / 396.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.5262, allocations: 41.06 kB / 396.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.5263, allocations: 16.8 kB / 396.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.5263, allocations: 0 / 396.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.5265, allocations: 54 kB / 396.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.879e-06/0.5265, allocations: 4 kB / 396.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005062/0.527, allocations: 112 kB / 397 MB, free: 12.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.5271, allocations: 55.34 kB / 397.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.5273, allocations: 176.9 kB / 397.3 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.5274, allocations: 25.7 kB / 397.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.429e-05/0.5275, allocations: 168.6 kB / 397.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.5275, allocations: 15.11 kB / 397.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.5276, allocations: 0 / 397.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5277, allocations: 318.8 kB / 397.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.877e-05/0.5278, allocations: 31.42 kB / 397.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-05/0.5279, allocations: 15.25 kB / 397.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.335e-05/0.528, allocations: 25.05 kB / 397.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.528, allocations: 0 / 397.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000269/0.5282, allocations: 90.25 kB / 397.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.068e-05/0.5283, allocations: 33.7 kB / 398 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5283, allocations: 4.062 kB / 398 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.5284, allocations: 0 / 398 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.5285, allocations: 11.98 kB / 398 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.5285, allocations: 0 / 398 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.553e-05/0.5286, allocations: 8 kB / 398 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.5286, allocations: 4 kB / 398 MB, free: 11.24 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 0.0001001/0.5287, allocations: 107.5 kB / 398.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001844/0.5289, allocations: 79.98 kB / 398.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.529, allocations: 7.906 kB / 398.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/0.5294, allocations: 83.14 kB / 398.3 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.5294, allocations: 4 kB / 398.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5295, allocations: 0 / 398.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.5295, allocations: 7.953 kB / 398.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007684/0.5303, allocations: 330.3 kB / 398.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.5303, allocations: 7.922 kB / 398.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.5304, allocations: 4 kB / 398.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.5305, allocations: 0 / 398.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.5305, allocations: 4 kB / 398.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.5305, allocations: 0 / 398.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/0.5305, allocations: 3.953 kB / 398.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.5309, allocations: 181.4 kB / 398.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.5311, allocations: 85.16 kB / 398.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.5312, allocations: 8.062 kB / 398.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.5314, allocations: 0 / 398.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.5315, allocations: 15.92 kB / 398.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.5315, allocations: 3.938 kB / 398.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000296/0.5318, allocations: 144.4 kB / 399.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.5318, allocations: 0 / 399.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000733/0.5326, allocations: 47.19 kB / 399.1 MB, free: 10.12 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.002086/0.5347, allocations: 0.903 MB / 400 MB, free: 9.258 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003981/0.5351, allocations: 108.2 kB / 400.1 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5352, allocations: 0 / 400.1 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.843e-05/0.5353, allocations: 18.19 kB / 400.1 MB, free: 9.145 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005599/0.5359, allocations: 19.5 kB / 400.2 MB, free: 9.129 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.5371, allocations: 250.5 kB / 400.4 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.5376, allocations: 0.7041 MB / 401.1 MB, free: 8.125 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.5378, allocations: 32.3 kB / 401.1 MB, free: 8.105 MB / 330.7 MB Notification: Performance of SimCode: time 1.513e-06/0.5378, allocations: 0 / 401.1 MB, free: 8.105 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.598/3.136, allocations: 2.278 MB / 403.4 MB, free: 5.836 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat