Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.896/1.896, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.463e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 48.71 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3934/0.4958, allocations: 75.35 MB / 391.7 MB, free: 1.191 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.4961, allocations: 67.09 kB / 391.7 MB, free: 1.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01825/0.5144, allocations: 4.164 MB / 395.9 MB, free: 13.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5144, allocations: 0 / 395.9 MB, free: 13.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.5145, allocations: 4 kB / 395.9 MB, free: 13.65 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.0005638/0.515, allocations: 426.4 kB / 396.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.5151, allocations: 8.031 kB / 396.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.5152, allocations: 7.906 kB / 396.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.5155, allocations: 212.8 kB / 396.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.5155, allocations: 0 / 396.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.5156, allocations: 8 kB / 396.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.186e-05/0.5157, allocations: 10.75 kB / 396.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.5158, allocations: 44.42 kB / 396.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5158, allocations: 0 / 396.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5158, allocations: 0 / 396.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.5158, allocations: 0 / 396.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.5163, allocations: 283.7 kB / 396.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.5165, allocations: 53.06 kB / 396.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.5166, allocations: 12.86 kB / 396.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.5166, allocations: 0 / 396.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.5168, allocations: 54.31 kB / 397 MB, free: 12.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.013e-06/0.5168, allocations: 0 / 397 MB, free: 12.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004542/0.5172, allocations: 107.7 kB / 397.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.5173, allocations: 51.41 kB / 397.1 MB, free: 12.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.5176, allocations: 183.8 kB / 397.3 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.5176, allocations: 33.27 kB / 397.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.5177, allocations: 164.2 kB / 397.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.5178, allocations: 15.75 kB / 397.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-06/0.5178, allocations: 0 / 397.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5179, allocations: 322 kB / 397.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.518, allocations: 18.88 kB / 397.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.5181, allocations: 20.75 kB / 397.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.588e-05/0.5182, allocations: 23.23 kB / 397.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5182, allocations: 11.88 kB / 397.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002461/0.5184, allocations: 83.88 kB / 398 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/0.5185, allocations: 36.88 kB / 398 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5185, allocations: 0 / 398 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.5186, allocations: 4 kB / 398 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.029e-05/0.5186, allocations: 8 kB / 398.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5187, allocations: 0 / 398.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.5188, allocations: 4.062 kB / 398.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.5188, allocations: 4 kB / 398.1 MB, free: 11.41 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.823e-05/0.5189, allocations: 120.9 kB / 398.2 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001679/0.5191, allocations: 72.53 kB / 398.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.5191, allocations: 11.91 kB / 398.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.5194, allocations: 85.52 kB / 398.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.5194, allocations: 144 / 398.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5194, allocations: 7.938 kB / 398.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-06/0.5194, allocations: 7.938 kB / 398.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.5199, allocations: 336.5 kB / 398.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5199, allocations: 4 kB / 398.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.022e-05/0.52, allocations: 8 kB / 398.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.52, allocations: 0 / 398.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.52, allocations: 3.984 kB / 398.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.5201, allocations: 0 / 398.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.5201, allocations: 11.94 kB / 398.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.5203, allocations: 166.3 kB / 398.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.5204, allocations: 99.66 kB / 399 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.5205, allocations: 4 kB / 399 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.5206, allocations: 4.25 kB / 399 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.5206, allocations: 7.953 kB / 399 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.5206, allocations: 4 kB / 399 MB, free: 10.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001837/0.5208, allocations: 160.4 kB / 399.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5209, allocations: 0 / 399.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004378/0.5213, allocations: 31.94 kB / 399.2 MB, free: 10.27 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.001335/0.5226, allocations: 0.9022 MB / 400.1 MB, free: 9.406 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.5229, allocations: 115 kB / 400.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.523, allocations: 0 / 400.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.082e-05/0.523, allocations: 19.5 kB / 400.2 MB, free: 9.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.5234, allocations: 23.33 kB / 400.2 MB, free: 9.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007547/0.5242, allocations: 250.9 kB / 400.5 MB, free: 9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.5245, allocations: 0.7079 MB / 401.2 MB, free: 8.266 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.373e-05/0.5246, allocations: 35.11 kB / 401.2 MB, free: 8.246 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5246, allocations: 4 kB / 401.2 MB, free: 8.242 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.591/3.115, allocations: 2.332 MB / 403.6 MB, free: 5.918 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat