Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.019/2.019, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.934e-05/3.947e-05, allocations: 8 kB / 267.6 MB, free: 5.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1549, allocations: 48.7 MB / 316.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4487/0.6037, allocations: 75.37 MB / 391.7 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.604, allocations: 72.77 kB / 391.8 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01688/0.6209, allocations: 4.055 MB / 395.8 MB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.6209, allocations: 0 / 395.8 MB, free: 13.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.6209, allocations: 0 / 395.8 MB, free: 13.48 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.0005397/0.6215, allocations: 426.5 kB / 396.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6215, allocations: 8.031 kB / 396.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.6216, allocations: 7.906 kB / 396.2 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.6219, allocations: 202.9 kB / 396.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.6219, allocations: 0 / 396.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.622, allocations: 4 kB / 396.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.172e-05/0.6221, allocations: 15.44 kB / 396.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.6222, allocations: 48.8 kB / 396.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6222, allocations: 3.938 kB / 396.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.6222, allocations: 0 / 396.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.6223, allocations: 0 / 396.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.6227, allocations: 269.5 kB / 396.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.6229, allocations: 41.88 kB / 396.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.623, allocations: 12.73 kB / 396.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.623, allocations: 0 / 396.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.6231, allocations: 63.17 kB / 396.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.923e-06/0.6231, allocations: 0 / 396.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004202/0.6236, allocations: 100.9 kB / 397 MB, free: 12.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.6236, allocations: 51.41 kB / 397 MB, free: 12.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.6239, allocations: 175.8 kB / 397.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.6239, allocations: 29.7 kB / 397.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.624, allocations: 158 kB / 397.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.624, allocations: 15.38 kB / 397.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.6241, allocations: 0 / 397.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6242, allocations: 322.8 kB / 397.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.6243, allocations: 19.69 kB / 397.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.6244, allocations: 19.75 kB / 397.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.201e-05/0.6244, allocations: 23.67 kB / 397.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6245, allocations: 7.938 kB / 397.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002288/0.6247, allocations: 84.5 kB / 397.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.6248, allocations: 41.44 kB / 397.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6248, allocations: 4 kB / 397.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6248, allocations: 0 / 397.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.333e-05/0.6249, allocations: 8 kB / 397.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.6249, allocations: 0 / 397.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.59e-05/0.625, allocations: 7.938 kB / 397.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.625, allocations: 4.078 kB / 397.9 MB, free: 11.27 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 8.849e-05/0.6251, allocations: 112.9 kB / 398 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001584/0.6253, allocations: 73.09 kB / 398.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.6253, allocations: 7.906 kB / 398.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.6256, allocations: 89.14 kB / 398.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6256, allocations: 192 / 398.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6256, allocations: 4 kB / 398.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.6256, allocations: 3.953 kB / 398.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.6261, allocations: 334.1 kB / 398.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.6261, allocations: 0 / 398.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.6261, allocations: 11.94 kB / 398.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6262, allocations: 144 / 398.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.6262, allocations: 4 kB / 398.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6262, allocations: 0 / 398.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.6262, allocations: 7.938 kB / 398.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.6264, allocations: 171.1 kB / 398.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/0.6265, allocations: 88.95 kB / 398.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.6266, allocations: 0 / 398.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.6267, allocations: 8 kB / 398.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.6267, allocations: 7.938 kB / 398.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.6268, allocations: 4 kB / 398.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001482/0.6269, allocations: 134.6 kB / 399 MB, free: 10.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6269, allocations: 0 / 399 MB, free: 10.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003888/0.6273, allocations: 31.94 kB / 399 MB, free: 10.18 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.00178/0.6291, allocations: 0.9049 MB / 399.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.6294, allocations: 114.6 kB / 400 MB, free: 9.195 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6294, allocations: 4 kB / 400 MB, free: 9.191 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.6295, allocations: 15.56 kB / 400 MB, free: 9.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.6299, allocations: 19.42 kB / 400.1 MB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007508/0.6307, allocations: 231.2 kB / 400.3 MB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.631, allocations: 0.7 MB / 401 MB, free: 8.191 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.769e-05/0.6311, allocations: 31.17 kB / 401 MB, free: 8.168 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6311, allocations: 0 / 401 MB, free: 8.168 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.759/3.391, allocations: 2.219 MB / 403.2 MB, free: 5.961 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat