Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.453/2.453, allocations: 270 MB / 283.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.485e-05/4.493e-05, allocations: 11.98 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 61.88 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5551/0.6919, allocations: 88.47 MB / 498.8 MB, free: 15.54 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.6923, allocations: 66.09 kB / 498.9 MB, free: 15.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02966/0.7219, allocations: 7.11 MB / 0.4941 GB, free: 8.375 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.722, allocations: 0 / 0.4941 GB, free: 8.375 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.722, allocations: 0 / 0.4941 GB, free: 8.375 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005392/0.7226, allocations: 418.2 kB / 0.4945 GB, free: 7.922 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.7226, allocations: 12.03 kB / 0.4945 GB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.132e-05/0.7227, allocations: 109.8 kB / 0.4947 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.723, allocations: 91.27 kB / 0.4947 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.7232, allocations: 234.4 kB / 0.495 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/0.7233, allocations: 150.6 kB / 0.4951 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.024e-05/0.7234, allocations: 158.5 kB / 0.4953 GB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.412e-05/0.7235, allocations: 105 kB / 0.4954 GB, free: 7.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.7235, allocations: 79.28 kB / 0.4954 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/0.7236, allocations: 150.6 kB / 0.4956 GB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.322e-05/0.7237, allocations: 150.6 kB / 0.4957 GB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.7238, allocations: 154.6 kB / 0.4959 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.7241, allocations: 441.9 kB / 0.4963 GB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.7243, allocations: 177.1 kB / 0.4965 GB, free: 5.828 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.7243, allocations: 80.14 kB / 0.4965 GB, free: 5.746 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.543e-05/0.7244, allocations: 79.28 kB / 0.4966 GB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.349e-05/0.7244, allocations: 109.8 kB / 0.4967 GB, free: 5.551 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.823e-06/0.7245, allocations: 0 / 0.4967 GB, free: 5.551 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 8.559e-05/0.7245, allocations: 33.7 kB / 0.4967 GB, free: 5.512 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.879e-05/0.7247, allocations: 178.1 kB / 0.4969 GB, free: 5.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.7248, allocations: 92.92 kB / 0.497 GB, free: 5.215 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.7248, allocations: 29.64 kB / 0.497 GB, free: 5.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.7249, allocations: 84.14 kB / 0.4971 GB, free: 5.094 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.7249, allocations: 3.938 kB / 0.4971 GB, free: 5.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-07/0.7249, allocations: 0 / 0.4971 GB, free: 5.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.725, allocations: 319 kB / 0.4974 GB, free: 4.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-06/0.7251, allocations: 0 / 0.4974 GB, free: 4.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.7251, allocations: 9.719 kB / 0.4974 GB, free: 4.754 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.006e-05/0.7251, allocations: 79.28 kB / 0.4975 GB, free: 4.676 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.334e-05/0.7252, allocations: 75.28 kB / 0.4976 GB, free: 4.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.332e-05/0.7253, allocations: 29.69 kB / 0.4976 GB, free: 4.566 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.7253, allocations: 83.28 kB / 0.4977 GB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.697e-05/0.7254, allocations: 91.19 kB / 0.4978 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.452e-05/0.7255, allocations: 150.6 kB / 0.4979 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.421e-05/0.7255, allocations: 75.28 kB / 0.498 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.934e-05/0.7256, allocations: 158.7 kB / 0.4981 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.7257, allocations: 79.28 kB / 0.4982 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.7258, allocations: 81.34 kB / 0.4983 GB, free: 3.859 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001403/0.7259, allocations: 259.5 kB / 0.4985 GB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/0.726, allocations: 108.9 kB / 0.4986 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.76e-05/0.7261, allocations: 111.9 kB / 0.4988 GB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.07e-05/0.7262, allocations: 180.2 kB / 0.4989 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.46e-05/0.7263, allocations: 180.2 kB / 0.4991 GB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.013e-05/0.7264, allocations: 180.3 kB / 0.4993 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.7267, allocations: 405.2 kB / 0.4997 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.234e-05/0.7268, allocations: 104.9 kB / 0.4998 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.7268, allocations: 101 kB / 0.4998 GB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.044e-05/0.7269, allocations: 176.3 kB / 0.5 GB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.924e-05/0.727, allocations: 188.2 kB / 0.5002 GB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-05/0.7271, allocations: 180.3 kB / 0.5004 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.564e-05/0.7272, allocations: 180.2 kB / 0.5005 GB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.7274, allocations: 307.8 kB / 0.5008 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.7275, allocations: 182.5 kB / 0.501 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.7276, allocations: 192.2 kB / 0.5012 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.7278, allocations: 101 kB / 0.5013 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.7279, allocations: 188.2 kB / 0.5015 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.283e-05/0.728, allocations: 109 kB / 0.5016 GB, free: 280 kB / 410.7 MB Notification: Performance of sorting global known variables: time 5.531e-05/0.728, allocations: 83.22 kB / 0.5017 GB, free: 196 kB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7281, allocations: 0 / 0.5017 GB, free: 196 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008313/0.7289, allocations: 139.9 kB / 0.5018 GB, free: 56 kB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001699/0.7306, allocations: 1.156 MB / 0.5029 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.17e-05/0.7307, allocations: 0 / 0.5029 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.7307, allocations: 0 / 0.5029 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.7307, allocations: 0 / 0.5029 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.7311, allocations: 0.5263 MB / 0.5034 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.7317, allocations: 237.7 kB / 0.5037 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.732, allocations: 0.6692 MB / 0.5043 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.78e-05/0.732, allocations: 4 kB / 0.5043 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.732, allocations: 7.438 kB / 0.5043 GB, free: 13.42 MB / 426.7 MB Notification: Performance of SimCode: time 6.62e-07/0.7321, allocations: 0 / 0.5043 GB, free: 13.42 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.7626, allocations: 3.35 MB / 0.5076 GB, free: 10.14 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003072/0.763, allocations: 197.4 kB / 0.5078 GB, free: 9.914 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/3.38, allocations: 4.062 kB / 0.5078 GB, free: 9.91 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat does not exist to compare? outputFormat=mat