Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.097/2.097, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.041e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3905/0.5072, allocations: 75.31 MB / 391.6 MB, free: 1.234 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.5076, allocations: 68.84 kB / 391.7 MB, free: 1.199 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01654/0.5241, allocations: 3.895 MB / 395.6 MB, free: 13.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5242, allocations: 0 / 395.6 MB, free: 13.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.5242, allocations: 4 kB / 395.6 MB, free: 13.94 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.000526/0.5247, allocations: 415.6 kB / 396 MB, free: 13.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.5248, allocations: 12.02 kB / 396 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.5249, allocations: 11.91 kB / 396 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.5251, allocations: 197.9 kB / 396.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.5252, allocations: 0 / 396.2 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.5252, allocations: 7.906 kB / 396.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.459e-05/0.5253, allocations: 11.94 kB / 396.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.862e-05/0.5254, allocations: 49.5 kB / 396.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.5254, allocations: 3.984 kB / 396.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5255, allocations: 0 / 396.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5255, allocations: 0 / 396.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.5259, allocations: 264.8 kB / 396.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.5262, allocations: 41.94 kB / 396.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.5262, allocations: 16.73 kB / 396.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.5262, allocations: 4 kB / 396.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.5264, allocations: 59.36 kB / 396.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.893e-06/0.5264, allocations: 4 kB / 396.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004423/0.5268, allocations: 100.8 kB / 396.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.5269, allocations: 51.41 kB / 396.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.5271, allocations: 148.7 kB / 397 MB, free: 12.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.5271, allocations: 29.7 kB / 397 MB, free: 12.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.5272, allocations: 166 kB / 397.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.5273, allocations: 19.67 kB / 397.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.5273, allocations: 0 / 397.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5274, allocations: 314.8 kB / 397.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.5275, allocations: 19.75 kB / 397.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.5276, allocations: 23.61 kB / 397.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.444e-05/0.5276, allocations: 23.62 kB / 397.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5277, allocations: 0 / 397.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002266/0.5279, allocations: 92.77 kB / 397.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.5279, allocations: 33.7 kB / 397.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.528, allocations: 4 kB / 397.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.528, allocations: 3.938 kB / 397.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.879e-05/0.5281, allocations: 11.98 kB / 397.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.5281, allocations: 0 / 397.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.5282, allocations: 3.953 kB / 397.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.5282, allocations: 7.938 kB / 397.7 MB, free: 11.75 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.318e-05/0.5283, allocations: 105 kB / 397.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001551/0.5285, allocations: 73.34 kB / 397.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.5285, allocations: 12.05 kB / 397.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.5288, allocations: 93.58 kB / 398 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5288, allocations: 7.891 kB / 398 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5288, allocations: 0 / 398 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5288, allocations: 0 / 398 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.5293, allocations: 326.2 kB / 398.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5293, allocations: 0 / 398.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.5293, allocations: 7.938 kB / 398.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.5294, allocations: 8 kB / 398.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.5294, allocations: 3.953 kB / 398.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5294, allocations: 0 / 398.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5294, allocations: 160 / 398.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.5296, allocations: 170.7 kB / 398.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.136e-05/0.5297, allocations: 85.02 kB / 398.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.5297, allocations: 0 / 398.6 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.5299, allocations: 7.953 kB / 398.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.5299, allocations: 7.984 kB / 398.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.5299, allocations: 7.812 kB / 398.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001423/0.5301, allocations: 127 kB / 398.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.5301, allocations: 0 / 398.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004117/0.5305, allocations: 31.94 kB / 398.7 MB, free: 10.67 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.001241/0.5318, allocations: 0.9146 MB / 399.7 MB, free: 9.785 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.532, allocations: 106.1 kB / 399.8 MB, free: 9.688 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.532, allocations: 3.938 kB / 399.8 MB, free: 9.684 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.053e-05/0.5321, allocations: 15.94 kB / 399.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.5324, allocations: 25.19 kB / 399.8 MB, free: 9.652 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.5331, allocations: 204.1 kB / 400 MB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.5334, allocations: 0.7113 MB / 400.7 MB, free: 8.688 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/0.5335, allocations: 19.25 kB / 400.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5335, allocations: 0 / 400.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.752/3.285, allocations: 2.165 MB / 402.9 MB, free: 6.52 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat