Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.59/2.59, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.689e-05, allocations: 5.625 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1348, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5293/0.6642, allocations: 88.47 MB / 498.8 MB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.6645, allocations: 68.5 kB / 498.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02972/0.6942, allocations: 7.096 MB / 0.4941 GB, free: 8.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6943, allocations: 0 / 0.4941 GB, free: 8.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.6943, allocations: 4 kB / 0.4941 GB, free: 8.406 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.000536/0.6949, allocations: 422.2 kB / 0.4945 GB, free: 7.949 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.6949, allocations: 12.03 kB / 0.4946 GB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.524e-05/0.695, allocations: 105.8 kB / 0.4947 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.6953, allocations: 87.27 kB / 0.4947 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.6955, allocations: 234.4 kB / 0.495 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.28e-05/0.6956, allocations: 154.6 kB / 0.4951 GB, free: 7.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.6956, allocations: 162.5 kB / 0.4953 GB, free: 7.156 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.805e-05/0.6957, allocations: 101 kB / 0.4954 GB, free: 7.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.6958, allocations: 79.28 kB / 0.4954 GB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/0.6958, allocations: 150.6 kB / 0.4956 GB, free: 6.824 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.395e-05/0.6959, allocations: 150.6 kB / 0.4957 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.765e-05/0.696, allocations: 150.6 kB / 0.4959 GB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.6963, allocations: 449.9 kB / 0.4963 GB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.6964, allocations: 173.1 kB / 0.4965 GB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.6965, allocations: 84.12 kB / 0.4965 GB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.6965, allocations: 75.28 kB / 0.4966 GB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.168e-05/0.6966, allocations: 113.8 kB / 0.4967 GB, free: 5.578 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.934e-06/0.6966, allocations: 0 / 0.4967 GB, free: 5.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 9.211e-05/0.6967, allocations: 25.7 kB / 0.4967 GB, free: 5.547 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.808e-05/0.6968, allocations: 190 kB / 0.4969 GB, free: 5.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.82e-05/0.6969, allocations: 88.94 kB / 0.497 GB, free: 5.242 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.697, allocations: 25.7 kB / 0.497 GB, free: 5.211 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.697, allocations: 80.14 kB / 0.4971 GB, free: 5.129 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.697, allocations: 8.062 kB / 0.4971 GB, free: 5.121 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-07/0.697, allocations: 0 / 0.4971 GB, free: 5.121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6972, allocations: 318.8 kB / 0.4974 GB, free: 4.801 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-06/0.6972, allocations: 0 / 0.4974 GB, free: 4.801 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.911e-05/0.6972, allocations: 9.719 kB / 0.4974 GB, free: 4.785 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.6973, allocations: 79.28 kB / 0.4975 GB, free: 4.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-05/0.6973, allocations: 75.28 kB / 0.4976 GB, free: 4.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.012e-05/0.6974, allocations: 29.73 kB / 0.4976 GB, free: 4.598 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.6975, allocations: 87.28 kB / 0.4977 GB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.729e-05/0.6975, allocations: 83.17 kB / 0.4978 GB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.473e-05/0.6976, allocations: 150.6 kB / 0.4979 GB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.207e-05/0.6976, allocations: 79.27 kB / 0.498 GB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.152e-05/0.6977, allocations: 154.7 kB / 0.4981 GB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.6979, allocations: 87.28 kB / 0.4982 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.6979, allocations: 77.34 kB / 0.4983 GB, free: 3.891 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.000121/0.6981, allocations: 255.5 kB / 0.4985 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.6981, allocations: 104.9 kB / 0.4986 GB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.6982, allocations: 119.9 kB / 0.4988 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-05/0.6983, allocations: 180.2 kB / 0.4989 GB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.99e-05/0.6984, allocations: 184.2 kB / 0.4991 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.514e-05/0.6984, allocations: 176.3 kB / 0.4993 GB, free: 2.844 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.6987, allocations: 401.2 kB / 0.4996 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.483e-05/0.6988, allocations: 108.9 kB / 0.4998 GB, free: 2.281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.6988, allocations: 101 kB / 0.4998 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.529e-05/0.6989, allocations: 180.3 kB / 0.5 GB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.37e-05/0.699, allocations: 184.2 kB / 0.5002 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.541e-05/0.699, allocations: 184.2 kB / 0.5004 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.64e-05/0.6991, allocations: 180.2 kB / 0.5005 GB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.6993, allocations: 303.8 kB / 0.5008 GB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.6994, allocations: 190.5 kB / 0.501 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/0.6995, allocations: 184.2 kB / 0.5012 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.6996, allocations: 101 kB / 0.5013 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.6997, allocations: 188.2 kB / 0.5015 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.6998, allocations: 113 kB / 0.5016 GB, free: 308 kB / 410.7 MB Notification: Performance of sorting global known variables: time 4.12e-05/0.6998, allocations: 79.28 kB / 0.5017 GB, free: 228 kB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6998, allocations: 0 / 0.5017 GB, free: 228 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007974/0.7006, allocations: 135.8 kB / 0.5018 GB, free: 92 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.001651/0.7023, allocations: 1.159 MB / 0.5029 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.785e-05/0.7024, allocations: 3.984 kB / 0.5029 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7024, allocations: 0 / 0.5029 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.7024, allocations: 0 / 0.5029 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.7027, allocations: 0.5224 MB / 0.5034 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.7033, allocations: 237.7 kB / 0.5037 GB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.7036, allocations: 0.6692 MB / 0.5043 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.644e-05/0.7036, allocations: 0 / 0.5043 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.864e-05/0.7036, allocations: 11.44 kB / 0.5043 GB, free: 13.45 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.7036, allocations: 0 / 0.5043 GB, free: 13.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.73, allocations: 3.349 MB / 0.5076 GB, free: 10.17 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003443/0.7304, allocations: 197.4 kB / 0.5078 GB, free: 9.945 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.353, allocations: 0 / 0.5078 GB, free: 9.945 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat does not exist to compare? outputFormat=mat