Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.942/1.942, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.127e-05/3.126e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.101, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.4896, allocations: 75.21 MB / 391.5 MB, free: 1.355 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.4899, allocations: 67.97 kB / 391.6 MB, free: 1.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0221/0.512, allocations: 5.409 MB / 397 MB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.238e-06/0.5121, allocations: 0 / 397 MB, free: 12.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.695e-05/0.5121, allocations: 11.94 kB / 397 MB, free: 12.7 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.0009812/0.5131, allocations: 0.648 MB / 397.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.5132, allocations: 8.031 kB / 397.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.5133, allocations: 43.44 kB / 397.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.5144, allocations: 461 kB / 398.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.5144, allocations: 0 / 398.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.5145, allocations: 4 kB / 398.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000111/0.5146, allocations: 23.73 kB / 398.2 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.5147, allocations: 59.33 kB / 398.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5148, allocations: 0 / 398.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.5148, allocations: 0 / 398.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5148, allocations: 7.922 kB / 398.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.5155, allocations: 370.4 kB / 398.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.5156, allocations: 56.83 kB / 398.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.978e-05/0.5157, allocations: 21.72 kB / 398.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.5157, allocations: 4 kB / 398.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.5159, allocations: 88.72 kB / 398.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.394e-06/0.516, allocations: 0 / 398.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004642/0.5164, allocations: 124.5 kB / 398.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.5165, allocations: 81.09 kB / 399 MB, free: 10.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.5184, allocations: 0.8836 MB / 399.9 MB, free: 9.977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.5185, allocations: 25.7 kB / 399.9 MB, free: 9.945 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.5187, allocations: 255.9 kB / 400.1 MB, free: 9.785 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.5187, allocations: 19.67 kB / 400.2 MB, free: 9.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.5188, allocations: 7.938 kB / 400.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5189, allocations: 314.8 kB / 400.5 MB, free: 9.445 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.519, allocations: 34.55 kB / 400.5 MB, free: 9.422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.5191, allocations: 48.09 kB / 400.6 MB, free: 9.383 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.5193, allocations: 38.72 kB / 400.6 MB, free: 9.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5193, allocations: 0 / 400.6 MB, free: 9.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004089/0.5197, allocations: 122.4 kB / 400.7 MB, free: 9.258 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.627e-05/0.5198, allocations: 67.39 kB / 400.8 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5198, allocations: 3.938 kB / 400.8 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.5199, allocations: 4 kB / 400.8 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.52, allocations: 8 kB / 400.8 MB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.52, allocations: 0 / 400.8 MB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.5202, allocations: 19.83 kB / 400.8 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.5203, allocations: 10.94 kB / 400.8 MB, free: 9.137 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001065/0.5204, allocations: 108.9 kB / 400.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003339/0.5207, allocations: 131.5 kB / 401.1 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.5209, allocations: 51.44 kB / 401.1 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.5213, allocations: 146.7 kB / 401.3 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.5214, allocations: 0 / 401.3 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.5214, allocations: 3.938 kB / 401.3 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5214, allocations: 4.125 kB / 401.3 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.5219, allocations: 350.5 kB / 401.6 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5219, allocations: 0 / 401.6 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.056e-05/0.522, allocations: 7.25 kB / 401.6 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.522, allocations: 4.094 kB / 401.6 MB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.522, allocations: 7.938 kB / 401.6 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.522, allocations: 0 / 401.6 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.5221, allocations: 4 kB / 401.6 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.5224, allocations: 185.6 kB / 401.8 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/0.5228, allocations: 186.9 kB / 402 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.5229, allocations: 4 kB / 402 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.5231, allocations: 11.98 kB / 402 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.5232, allocations: 4 kB / 402 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.5232, allocations: 4 kB / 402 MB, free: 7.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001289/0.5245, allocations: 0.6967 MB / 402.7 MB, free: 7.445 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.5245, allocations: 0 / 402.7 MB, free: 7.445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006033/0.5251, allocations: 98.06 kB / 402.8 MB, free: 7.352 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001753/0.5269, allocations: 1.065 MB / 403.9 MB, free: 6.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.5273, allocations: 193.7 kB / 404.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5274, allocations: 2.812 kB / 404.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.5275, allocations: 22.92 kB / 404.1 MB, free: 6.113 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.528, allocations: 55.73 kB / 404.1 MB, free: 6.078 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.5302, allocations: 0.9087 MB / 405 MB, free: 5.203 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.5308, allocations: 0.8431 MB / 405.9 MB, free: 4.352 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.5312, allocations: 144.4 kB / 406 MB, free: 4.305 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5312, allocations: 4 kB / 406 MB, free: 4.301 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.672/3.204, allocations: 7.982 MB / 414 MB, free: 12.35 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat