Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.901/1.901, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.075e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 48.71 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3911/0.4933, allocations: 75.37 MB / 391.7 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.4936, allocations: 67.94 kB / 391.7 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01735/0.5109, allocations: 4.063 MB / 395.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.511, allocations: 0 / 395.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.511, allocations: 0 / 395.8 MB, free: 13.52 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.0006789/0.5117, allocations: 424.4 kB / 396.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.5118, allocations: 8.031 kB / 396.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.5119, allocations: 7.906 kB / 396.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.5123, allocations: 202.8 kB / 396.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.5123, allocations: 4 kB / 396.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.5123, allocations: 4 kB / 396.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.284e-05/0.5124, allocations: 11.5 kB / 396.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.5126, allocations: 45.23 kB / 396.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.5126, allocations: 3.984 kB / 396.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.5126, allocations: 0 / 396.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.5127, allocations: 3.938 kB / 396.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.5132, allocations: 273.1 kB / 396.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.5135, allocations: 49 kB / 396.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.811e-05/0.5136, allocations: 12.3 kB / 396.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.5136, allocations: 0 / 396.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.5138, allocations: 58.8 kB / 396.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.304e-06/0.5138, allocations: 0 / 396.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005679/0.5144, allocations: 106.8 kB / 397 MB, free: 12.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.5145, allocations: 55.41 kB / 397 MB, free: 12.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.5148, allocations: 169.6 kB / 397.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.5149, allocations: 29.7 kB / 397.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.515, allocations: 157.7 kB / 397.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.515, allocations: 15.06 kB / 397.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.515, allocations: 0 / 397.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.5152, allocations: 322.2 kB / 397.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.5153, allocations: 18.94 kB / 397.7 MB, free: 11.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.289e-05/0.5154, allocations: 18.88 kB / 397.8 MB, free: 11.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.5156, allocations: 26.8 kB / 397.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5156, allocations: 0 / 397.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003408/0.5159, allocations: 90.81 kB / 397.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/0.516, allocations: 33.69 kB / 397.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.516, allocations: 4 kB / 397.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.5161, allocations: 0 / 397.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.5162, allocations: 8 kB / 397.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5162, allocations: 0 / 397.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.5163, allocations: 3.938 kB / 397.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.5164, allocations: 4 kB / 397.9 MB, free: 11.31 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.0001242/0.5165, allocations: 121 kB / 398 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002275/0.5168, allocations: 75.66 kB / 398.1 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.5168, allocations: 7.906 kB / 398.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.5172, allocations: 82.83 kB / 398.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5172, allocations: 192 / 398.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.5172, allocations: 4 kB / 398.2 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.5172, allocations: 3.953 kB / 398.2 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006506/0.5179, allocations: 340.4 kB / 398.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5179, allocations: 0 / 398.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.758e-05/0.518, allocations: 7.984 kB / 398.6 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.518, allocations: 3.938 kB / 398.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.5181, allocations: 4 kB / 398.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5181, allocations: 0 / 398.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.5181, allocations: 3.953 kB / 398.6 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.5184, allocations: 174.2 kB / 398.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.5185, allocations: 92.95 kB / 398.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.5186, allocations: 0 / 398.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.5188, allocations: 4 kB / 398.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.5188, allocations: 7.938 kB / 398.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.5189, allocations: 4 kB / 398.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002073/0.5191, allocations: 133 kB / 399 MB, free: 10.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.5191, allocations: 0 / 399 MB, free: 10.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000634/0.5198, allocations: 31.94 kB / 399 MB, free: 10.21 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.001865/0.5217, allocations: 0.9094 MB / 399.9 MB, free: 9.336 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003419/0.522, allocations: 114.6 kB / 400 MB, free: 9.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5221, allocations: 4 kB / 400 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.817e-05/0.5222, allocations: 19.38 kB / 400.1 MB, free: 9.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.5226, allocations: 15.7 kB / 400.1 MB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.5237, allocations: 229 kB / 400.3 MB, free: 8.949 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.5242, allocations: 0.704 MB / 401 MB, free: 8.223 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.5243, allocations: 37.55 kB / 401 MB, free: 8.195 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5243, allocations: 0 / 401 MB, free: 8.195 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.655/3.179, allocations: 2.207 MB / 403.2 MB, free: 5.996 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat