Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.92/1.92, allocations: 209.4 MB / 216.9 MB, free: 6.738 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.109e-05, allocations: 8 kB / 267.6 MB, free: 5.387 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 48.7 MB / 316.3 MB, free: 4.594 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3892/0.4909, allocations: 75.37 MB / 391.7 MB, free: 0.9414 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.4912, allocations: 78.69 kB / 391.8 MB, free: 0.8984 MB / 314.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01672/0.508, allocations: 4.009 MB / 395.8 MB, free: 13.54 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.443e-06/0.508, allocations: 0 / 395.8 MB, free: 13.54 MB / 330.8 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.5081, allocations: 8 kB / 395.8 MB, free: 13.53 MB / 330.8 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.0005061/0.5086, allocations: 427.4 kB / 396.2 MB, free: 13.07 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5086, allocations: 8.031 kB / 396.2 MB, free: 13.06 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.5087, allocations: 7.906 kB / 396.2 MB, free: 13.05 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.509, allocations: 199.3 kB / 396.4 MB, free: 12.82 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.509, allocations: 0 / 396.4 MB, free: 12.82 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.5091, allocations: 7.984 kB / 396.4 MB, free: 12.81 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.148e-05/0.5092, allocations: 11.98 kB / 396.4 MB, free: 12.8 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.897e-05/0.5093, allocations: 49.38 kB / 396.5 MB, free: 12.75 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5093, allocations: 0 / 396.5 MB, free: 12.75 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.5093, allocations: 3.812 kB / 396.5 MB, free: 12.75 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5093, allocations: 7.938 kB / 396.5 MB, free: 12.74 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.5098, allocations: 272.7 kB / 396.7 MB, free: 12.46 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.51, allocations: 38.25 kB / 396.8 MB, free: 12.41 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.51, allocations: 12.8 kB / 396.8 MB, free: 12.4 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.5101, allocations: 4 kB / 396.8 MB, free: 12.4 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.5102, allocations: 59.25 kB / 396.9 MB, free: 12.33 MB / 330.8 MB Notification: Performance of pre-optimization done (n=4): time 1.874e-06/0.5102, allocations: 0 / 396.9 MB, free: 12.33 MB / 330.8 MB Notification: Performance of matching and sorting (n=5): time 0.0004325/0.5107, allocations: 104.9 kB / 397 MB, free: 12.23 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.5107, allocations: 51.41 kB / 397 MB, free: 12.17 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.5109, allocations: 172.9 kB / 397.2 MB, free: 12.01 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.511, allocations: 25.7 kB / 397.2 MB, free: 11.98 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.5111, allocations: 168.5 kB / 397.4 MB, free: 11.82 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.5111, allocations: 15.73 kB / 397.4 MB, free: 11.81 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.5111, allocations: 0 / 397.4 MB, free: 11.81 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5113, allocations: 318.8 kB / 397.7 MB, free: 11.49 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.5113, allocations: 18.81 kB / 397.7 MB, free: 11.48 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.5114, allocations: 14.31 kB / 397.7 MB, free: 11.47 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.277e-05/0.5115, allocations: 24.42 kB / 397.8 MB, free: 11.46 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5115, allocations: 3.938 kB / 397.8 MB, free: 11.45 MB / 330.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002463/0.5118, allocations: 92.92 kB / 397.8 MB, free: 11.37 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.5118, allocations: 40.95 kB / 397.9 MB, free: 11.33 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5118, allocations: 0 / 397.9 MB, free: 11.33 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5118, allocations: 0 / 397.9 MB, free: 11.33 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.5119, allocations: 11.98 kB / 397.9 MB, free: 11.32 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.512, allocations: 0 / 397.9 MB, free: 11.32 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.736e-05/0.512, allocations: 7.938 kB / 397.9 MB, free: 11.31 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.5121, allocations: 4 kB / 397.9 MB, free: 11.3 MB / 330.8 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.244e-05/0.5122, allocations: 105 kB / 398 MB, free: 11.2 MB / 330.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001627/0.5123, allocations: 83.22 kB / 398.1 MB, free: 11.12 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.5124, allocations: 11.91 kB / 398.1 MB, free: 11.11 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.5126, allocations: 87.62 kB / 398.2 MB, free: 11.03 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5126, allocations: 0 / 398.2 MB, free: 11.03 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5126, allocations: 0 / 398.2 MB, free: 11.03 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.5127, allocations: 3.953 kB / 398.2 MB, free: 11.02 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.5131, allocations: 330.9 kB / 398.5 MB, free: 10.68 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5131, allocations: 0 / 398.5 MB, free: 10.68 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.5132, allocations: 8 kB / 398.5 MB, free: 10.67 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5132, allocations: 0 / 398.5 MB, free: 10.67 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.5132, allocations: 4 kB / 398.5 MB, free: 10.67 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5132, allocations: 0 / 398.5 MB, free: 10.67 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.5132, allocations: 3.953 kB / 398.5 MB, free: 10.66 MB / 330.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.5135, allocations: 172.6 kB / 398.7 MB, free: 10.49 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.5135, allocations: 85.02 kB / 398.8 MB, free: 10.39 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.5136, allocations: 4 kB / 398.8 MB, free: 10.39 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.5137, allocations: 3.984 kB / 398.8 MB, free: 10.38 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.5138, allocations: 12.09 kB / 398.8 MB, free: 10.37 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.5138, allocations: 7.859 kB / 398.8 MB, free: 10.37 MB / 330.8 MB Notification: Performance of sorting global known variables: time 0.0001442/0.514, allocations: 132.2 kB / 398.9 MB, free: 10.25 MB / 330.8 MB Notification: Performance of sort global known variables: time 2.574e-06/0.514, allocations: 0 / 398.9 MB, free: 10.25 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.0004003/0.5144, allocations: 35.88 kB / 399 MB, free: 10.22 MB / 330.8 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.001212/0.5156, allocations: 0.9101 MB / 399.9 MB, free: 9.336 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.5159, allocations: 114.1 kB / 400 MB, free: 9.23 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5159, allocations: 0 / 400 MB, free: 9.23 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 5.637e-05/0.5159, allocations: 15.19 kB / 400 MB, free: 9.219 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.5163, allocations: 19.23 kB / 400 MB, free: 9.203 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000829/0.5171, allocations: 231.4 kB / 400.3 MB, free: 8.953 MB / 330.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.5174, allocations: 0.711 MB / 401 MB, free: 8.219 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.893e-05/0.5175, allocations: 25.17 kB / 401 MB, free: 8.203 MB / 330.8 MB Notification: Performance of SimCode: time 8.41e-07/0.5175, allocations: 0 / 401 MB, free: 8.203 MB / 330.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.572/3.089, allocations: 2.213 MB / 403.2 MB, free: 6 MB / 330.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat