Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.967/1.967, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.215e-05/3.211e-05, allocations: 8 kB / 267.6 MB, free: 5.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 48.69 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5159/0.6235, allocations: 75.36 MB / 391.7 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/0.6239, allocations: 72.92 kB / 391.7 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02839/0.6523, allocations: 4.041 MB / 395.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6524, allocations: 0 / 395.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.6524, allocations: 4 kB / 395.8 MB, free: 13.49 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.0007234/0.6532, allocations: 427.6 kB / 396.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.6532, allocations: 12.03 kB / 396.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.978e-05/0.6533, allocations: 11.91 kB / 396.2 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.6538, allocations: 191.4 kB / 396.4 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.6538, allocations: 4 kB / 396.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.6539, allocations: 3.938 kB / 396.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001127/0.654, allocations: 11.98 kB / 396.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.6542, allocations: 45.55 kB / 396.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.6542, allocations: 3.938 kB / 396.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.6543, allocations: 4 kB / 396.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.6543, allocations: 0 / 396.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/0.6549, allocations: 276.5 kB / 396.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.6553, allocations: 45.81 kB / 396.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.951e-05/0.6553, allocations: 12.86 kB / 396.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.6554, allocations: 0 / 396.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.6556, allocations: 63.31 kB / 396.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.366e-06/0.6556, allocations: 0 / 396.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006425/0.6563, allocations: 105.1 kB / 397 MB, free: 12.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.6563, allocations: 55.41 kB / 397 MB, free: 12.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.6567, allocations: 164.2 kB / 397.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.6568, allocations: 25.7 kB / 397.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.6569, allocations: 162.4 kB / 397.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.657, allocations: 15.73 kB / 397.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.657, allocations: 4 kB / 397.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.6572, allocations: 322.7 kB / 397.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.6573, allocations: 23.38 kB / 397.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.58e-05/0.6574, allocations: 15.88 kB / 397.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.6576, allocations: 19.55 kB / 397.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6576, 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.0003722/0.658, allocations: 88.98 kB / 397.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/0.6581, allocations: 33.7 kB / 397.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6581, allocations: 0 / 397.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.6582, allocations: 0 / 397.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.6583, allocations: 15.92 kB / 397.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.6583, allocations: 4 kB / 397.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.6585, allocations: 7.938 kB / 397.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.6585, allocations: 4 kB / 397.9 MB, free: 11.26 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.0001292/0.6587, allocations: 104.9 kB / 398 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002752/0.659, allocations: 73.28 kB / 398.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.659, allocations: 8 kB / 398.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.6595, allocations: 97.12 kB / 398.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6595, allocations: 4 kB / 398.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6595, allocations: 4 kB / 398.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.6595, allocations: 3.953 kB / 398.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006652/0.6602, allocations: 322.2 kB / 398.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.6603, allocations: 0 / 398.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/0.6604, allocations: 11.94 kB / 398.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.6604, allocations: 0 / 398.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.6604, allocations: 2.562 kB / 398.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6605, allocations: 0 / 398.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/0.6605, allocations: 3.953 kB / 398.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.6608, allocations: 173.3 kB / 398.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.661, allocations: 87.83 kB / 398.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.6611, allocations: 7.984 kB / 398.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.6612, allocations: 0 / 398.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.6613, allocations: 8.094 kB / 398.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.6614, allocations: 0 / 398.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002109/0.6616, allocations: 132.3 kB / 398.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.092e-06/0.6616, allocations: 8 kB / 399 MB, free: 10.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006281/0.6623, allocations: 31.25 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.002023/0.6643, allocations: 0.9207 MB / 399.9 MB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.6647, allocations: 106 kB / 400 MB, free: 9.195 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.6647, allocations: 0 / 400 MB, free: 9.195 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.531e-05/0.6648, allocations: 22.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.0004543/0.6653, allocations: 15.89 kB / 400 MB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.6663, allocations: 240.4 kB / 400.3 MB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.6668, allocations: 0.7041 MB / 401 MB, free: 8.176 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.6669, allocations: 28.67 kB / 401 MB, free: 8.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.572e-06/0.667, allocations: 0 / 401 MB, free: 8.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.65/3.317, allocations: 2.207 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.Test42_res.mat does not exist to compare? outputFormat=mat