Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.685/2.685, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.24e-05/4.244e-05, allocations: 7.234 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1738, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.517/0.6909, allocations: 89.52 MB / 499.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.6912, allocations: 73.16 kB / 500 MB, free: 14.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03717/0.7284, allocations: 8.017 MB / 0.4961 GB, free: 6.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7285, allocations: 0 / 0.4961 GB, free: 6.344 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.819e-05/0.7285, allocations: 4 kB / 0.4961 GB, free: 6.34 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.0008878/0.7294, allocations: 495 kB / 0.4966 GB, free: 5.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.7295, allocations: 8.031 kB / 0.4966 GB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.273e-05/0.7295, allocations: 42.55 kB / 0.4966 GB, free: 5.754 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.7297, allocations: 19.72 kB / 0.4966 GB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006963/0.7304, allocations: 274.5 kB / 0.4969 GB, free: 5.426 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.7304, allocations: 15.92 kB / 0.4969 GB, free: 5.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.7305, allocations: 8 kB / 0.4969 GB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.7308, allocations: 107.3 kB / 0.497 GB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.7308, allocations: 7.906 kB / 0.497 GB, free: 5.277 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.7308, allocations: 8 kB / 0.497 GB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.7308, allocations: 4 kB / 0.497 GB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.731, allocations: 43.98 kB / 0.4971 GB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009043/0.7319, allocations: 476.7 kB / 0.4975 GB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.7324, allocations: 121.2 kB / 0.4976 GB, free: 4.566 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.7326, allocations: 45.78 kB / 0.4977 GB, free: 4.516 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.7326, allocations: 3.984 kB / 0.4977 GB, free: 4.512 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.7329, allocations: 109.1 kB / 0.4978 GB, free: 4.387 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.815e-06/0.7329, allocations: 3.938 kB / 0.4978 GB, free: 4.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.001482/0.7344, allocations: 433.1 kB / 0.4982 GB, free: 3.953 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.7345, allocations: 77.11 kB / 0.4983 GB, free: 3.859 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006262/0.7352, allocations: 323.4 kB / 0.4986 GB, free: 3.543 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.7352, allocations: 33.7 kB / 0.4986 GB, free: 3.504 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.7354, allocations: 140.5 kB / 0.4988 GB, free: 3.363 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.7355, allocations: 75.08 kB / 0.4988 GB, free: 3.289 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.7355, allocations: 4 kB / 0.4988 GB, free: 3.285 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.7357, allocations: 338.8 kB / 0.4992 GB, free: 2.945 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.7359, allocations: 59.92 kB / 0.4992 GB, free: 2.887 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.7361, allocations: 87.36 kB / 0.4993 GB, free: 2.789 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.7363, allocations: 59.98 kB / 0.4994 GB, free: 2.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.7363, allocations: 4 kB / 0.4994 GB, free: 2.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005977/0.7369, allocations: 217.2 kB / 0.4996 GB, free: 2.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.7369, allocations: 4 kB / 0.4996 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.737, allocations: 7.984 kB / 0.4996 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.737, allocations: 3.953 kB / 0.4996 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.7373, allocations: 47.92 kB / 0.4996 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.7374, allocations: 0 / 0.4996 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.7375, allocations: 8 kB / 0.4996 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.7376, allocations: 11.98 kB / 0.4996 GB, free: 2.426 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.0001285/0.7377, allocations: 125 kB / 0.4998 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.7378, allocations: 31.61 kB / 0.4998 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007869/0.7386, allocations: 259.7 kB / 0.5 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.7386, allocations: 7.953 kB / 0.5 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7386, allocations: 0 / 0.5 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.7387, allocations: 0 / 0.5 GB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.7401, allocations: 0.7586 MB / 0.5008 GB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.7401, allocations: 4.094 kB / 0.5008 GB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.7403, allocations: 35.86 kB / 0.5008 GB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.7403, allocations: 4 kB / 0.5008 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.7404, allocations: 8 kB / 0.5008 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.7404, allocations: 12.06 kB / 0.5009 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7404, allocations: 0 / 0.5009 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006706/0.7411, allocations: 478.5 kB / 0.5013 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.7412, allocations: 120.7 kB / 0.5014 GB, free: 448 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.966e-05/0.7413, allocations: 15.98 kB / 0.5014 GB, free: 432 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.7415, allocations: 12 kB / 0.5014 GB, free: 420 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.7416, allocations: 23.97 kB / 0.5015 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.7417, allocations: 8 kB / 0.5015 GB, free: 388 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004508/0.7421, allocations: 259.1 kB / 0.5017 GB, free: 124 kB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7422, allocations: 0 / 0.5017 GB, free: 124 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005482/0.7427, allocations: 63.91 kB / 0.5018 GB, free: 60 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.002565/0.7453, allocations: 1.778 MB / 0.5035 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004856/0.7458, allocations: 163.8 kB / 0.5037 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7458, allocations: 0 / 0.5037 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.7461, allocations: 71.94 kB / 0.5037 GB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.7468, allocations: 49.86 kB / 0.5038 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.7482, allocations: 490.3 kB / 0.5043 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.7488, allocations: 0.7677 MB / 0.505 GB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.749, allocations: 50.05 kB / 0.5051 GB, free: 12.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.7492, allocations: 83.41 kB / 0.5051 GB, free: 12.65 MB / 426.7 MB Notification: Performance of SimCode: time 3.527e-06/0.7492, allocations: 0 / 0.5051 GB, free: 12.65 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/0.7818, allocations: 5.61 MB / 0.5106 GB, free: 7.133 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000308/0.7822, allocations: 190.4 kB / 0.5108 GB, free: 6.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.717/3.499, allocations: 0 / 0.5108 GB, free: 6.91 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat