Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.593/2.593, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.993e-05/5.002e-05, allocations: 11.23 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5525/0.6844, allocations: 89.53 MB / 499.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003721/0.6849, allocations: 72.78 kB / 500 MB, free: 14.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03682/0.7217, allocations: 8.019 MB / 0.4961 GB, free: 6.316 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7218, allocations: 4 kB / 0.4961 GB, free: 6.312 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.735e-05/0.7218, allocations: 4 kB / 0.4961 GB, free: 6.309 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008951/0.7227, allocations: 487 kB / 0.4966 GB, free: 5.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.7228, allocations: 12.03 kB / 0.4966 GB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.842e-05/0.7229, allocations: 34.56 kB / 0.4966 GB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.92e-05/0.723, allocations: 23.72 kB / 0.4966 GB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.7236, allocations: 286.4 kB / 0.4969 GB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.7237, allocations: 8 kB / 0.4969 GB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.7237, allocations: 4 kB / 0.4969 GB, free: 5.379 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.724, allocations: 112 kB / 0.497 GB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.7241, allocations: 3.906 kB / 0.497 GB, free: 5.254 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.7241, allocations: 7.984 kB / 0.497 GB, free: 5.246 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.7241, allocations: 0 / 0.497 GB, free: 5.246 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.7243, allocations: 39.98 kB / 0.4971 GB, free: 5.207 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008811/0.7252, allocations: 488.7 kB / 0.4975 GB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.7257, allocations: 121.1 kB / 0.4976 GB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.7258, allocations: 45.84 kB / 0.4977 GB, free: 4.488 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.7258, allocations: 0 / 0.4977 GB, free: 4.488 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.7261, allocations: 113.2 kB / 0.4978 GB, free: 4.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.244e-06/0.7261, allocations: 3.938 kB / 0.4978 GB, free: 4.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.001487/0.7276, allocations: 425 kB / 0.4982 GB, free: 3.934 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.7277, allocations: 81.11 kB / 0.4983 GB, free: 3.836 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.7284, allocations: 323.4 kB / 0.4986 GB, free: 3.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.7284, allocations: 33.7 kB / 0.4986 GB, free: 3.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.7286, allocations: 148.4 kB / 0.4988 GB, free: 3.332 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.783e-05/0.7287, allocations: 63.09 kB / 0.4988 GB, free: 3.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.7287, allocations: 8 kB / 0.4988 GB, free: 3.262 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.7289, allocations: 338.8 kB / 0.4992 GB, free: 2.922 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.7291, allocations: 55.94 kB / 0.4992 GB, free: 2.867 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.7293, allocations: 91.36 kB / 0.4993 GB, free: 2.766 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.7295, allocations: 59.97 kB / 0.4994 GB, free: 2.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7295, allocations: 0 / 0.4994 GB, free: 2.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005868/0.7301, allocations: 221.2 kB / 0.4996 GB, free: 2.484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.7301, allocations: 4 kB / 0.4996 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.7301, allocations: 4 kB / 0.4996 GB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.7302, allocations: 8.016 kB / 0.4996 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.7305, allocations: 47.91 kB / 0.4996 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.7305, allocations: 0 / 0.4996 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.7307, allocations: 12 kB / 0.4996 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.7307, allocations: 4 kB / 0.4996 GB, free: 2.406 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001272/0.7309, allocations: 124.9 kB / 0.4998 GB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/0.731, allocations: 27.62 kB / 0.4998 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/0.7317, allocations: 263.7 kB / 0.5 GB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.7318, allocations: 7.953 kB / 0.5 GB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.7318, allocations: 4 kB / 0.5001 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.7318, allocations: 0 / 0.5001 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.7333, allocations: 0.7702 MB / 0.5008 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.7333, allocations: 0 / 0.5008 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.7335, allocations: 39.92 kB / 0.5008 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.7335, allocations: 4 kB / 0.5008 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.7336, allocations: 4 kB / 0.5008 GB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.7336, allocations: 4.406 kB / 0.5009 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7336, allocations: 4 kB / 0.5009 GB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007497/0.7344, allocations: 489.1 kB / 0.5013 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.7345, allocations: 120.7 kB / 0.5014 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.7346, allocations: 8 kB / 0.5014 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.7349, allocations: 11.98 kB / 0.5015 GB, free: 392 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.735, allocations: 15.98 kB / 0.5015 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.735, allocations: 15.98 kB / 0.5015 GB, free: 360 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004406/0.7354, allocations: 255.1 kB / 0.5017 GB, free: 100 kB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7355, allocations: 0 / 0.5017 GB, free: 100 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005619/0.736, allocations: 71.89 kB / 0.5018 GB, free: 28 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00263/0.7387, allocations: 1.768 MB / 0.5035 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004883/0.7392, allocations: 151.8 kB / 0.5037 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7392, allocations: 0 / 0.5037 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.7394, allocations: 80.23 kB / 0.5037 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006643/0.7401, allocations: 53.92 kB / 0.5038 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.7417, allocations: 485.9 kB / 0.5043 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.7421, allocations: 0.7716 MB / 0.505 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002816/0.7424, allocations: 42.05 kB / 0.5051 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.7427, allocations: 95.34 kB / 0.5051 GB, free: 12.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7427, allocations: 0 / 0.5051 GB, free: 12.62 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03399/0.7767, allocations: 5.602 MB / 0.5106 GB, free: 7.109 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003443/0.7771, allocations: 190.5 kB / 0.5108 GB, free: 6.887 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.775/3.552, allocations: 0 / 0.5108 GB, free: 6.887 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat