Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.105/2.105, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.39e-05/4.455e-05, allocations: 8 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1336, allocations: 48.71 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4305/0.5642, allocations: 75.23 MB / 391.5 MB, free: 1.062 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.5645, allocations: 71.41 kB / 391.6 MB, free: 1.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02261/0.5872, allocations: 5.409 MB / 397 MB, free: 12.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5873, allocations: 0 / 397 MB, free: 12.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.122e-05/0.5873, allocations: 8 kB / 397 MB, free: 12.41 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.0009955/0.5883, allocations: 0.6524 MB / 397.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.5884, allocations: 8.031 kB / 397.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.5885, allocations: 50.88 kB / 397.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5896, allocations: 449.8 kB / 398.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.5896, allocations: 0 / 398.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.5897, allocations: 11.48 kB / 398.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001038/0.5898, allocations: 15.06 kB / 398.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.5899, allocations: 68.94 kB / 398.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.59, allocations: 0 / 398.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.59, allocations: 0 / 398.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.59, allocations: 0 / 398.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.5906, allocations: 364.6 kB / 398.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.5907, allocations: 59.88 kB / 398.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.5908, allocations: 21.16 kB / 398.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.5908, allocations: 7.938 kB / 398.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.591, allocations: 87.28 kB / 398.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.591, allocations: 0 / 398.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004331/0.5915, allocations: 130.2 kB / 398.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.5915, allocations: 77.11 kB / 399 MB, free: 10.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.5934, allocations: 0.8873 MB / 399.9 MB, free: 9.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.5935, allocations: 29.7 kB / 399.9 MB, free: 9.645 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.5937, allocations: 249.9 kB / 400.2 MB, free: 9.488 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.5937, allocations: 19.17 kB / 400.2 MB, free: 9.473 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.5938, allocations: 4 kB / 400.2 MB, free: 9.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5939, allocations: 314.8 kB / 400.5 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.594, allocations: 45.17 kB / 400.5 MB, free: 9.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.5941, allocations: 47.08 kB / 400.6 MB, free: 9.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.5943, allocations: 32.55 kB / 400.6 MB, free: 9.062 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5943, allocations: 0 / 400.6 MB, free: 9.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003744/0.5947, allocations: 126.4 kB / 400.7 MB, free: 8.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.399e-05/0.5948, allocations: 67.39 kB / 400.8 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.5948, allocations: 4 kB / 400.8 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.5948, allocations: 0 / 400.8 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.595, allocations: 15.05 kB / 400.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.595, allocations: 0 / 400.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.5952, allocations: 19.97 kB / 400.8 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.5953, allocations: 8 kB / 400.9 MB, free: 8.836 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.00011/0.5954, allocations: 112.9 kB / 401 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003252/0.5957, allocations: 126.8 kB / 401.1 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.5959, allocations: 51.44 kB / 401.1 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003982/0.5963, allocations: 150.1 kB / 401.3 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5963, allocations: 0 / 401.3 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.5963, allocations: 4 kB / 401.3 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5963, allocations: 0 / 401.3 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.5968, allocations: 347.9 kB / 401.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5968, allocations: 0 / 401.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.445e-05/0.5969, allocations: 4 kB / 401.6 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5969, allocations: 4 kB / 401.6 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.5969, allocations: 0 / 401.6 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.597, allocations: 12.02 kB / 401.6 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.597, allocations: 7.938 kB / 401.7 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.5973, allocations: 177.9 kB / 401.8 MB, free: 7.867 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.5977, allocations: 182.6 kB / 402 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5978, allocations: 7.984 kB / 402 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.598, allocations: 11.98 kB / 402 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.598, allocations: 7.984 kB / 402 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.5981, allocations: 4 kB / 402 MB, free: 7.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001226/0.5993, allocations: 0.6918 MB / 402.7 MB, free: 7.152 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5993, allocations: 0 / 402.7 MB, free: 7.152 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005732/0.5999, allocations: 106.9 kB / 402.8 MB, free: 7.051 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.001806/0.6017, allocations: 1.062 MB / 403.9 MB, free: 6.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.6021, allocations: 194 kB / 404.1 MB, free: 5.832 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6021, allocations: 3.688 kB / 404.1 MB, free: 5.832 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.605e-05/0.6022, allocations: 27.23 kB / 404.1 MB, free: 5.809 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.6028, allocations: 43.19 kB / 404.2 MB, free: 5.785 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.6051, allocations: 0.9054 MB / 405.1 MB, free: 4.914 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006161/0.6057, allocations: 0.8442 MB / 405.9 MB, free: 4.059 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.6061, allocations: 145.8 kB / 406.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6061, allocations: 0 / 406.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.635/3.241, allocations: 7.976 MB / 414 MB, free: 12.07 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat