Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.234/2.234, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.555e-05, allocations: 0 / 292.7 MB, free: 8.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 50.41 MB / 343.2 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4469/0.5637, allocations: 80.29 MB / 423.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.564, allocations: 73.91 kB / 423.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03619/0.6002, allocations: 7.874 MB / 431.4 MB, free: 6.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6003, allocations: 0 / 431.4 MB, free: 6.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.757e-05/0.6004, allocations: 16 kB / 431.4 MB, free: 6.895 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001994/0.6024, allocations: 0.6131 MB / 432 MB, free: 6.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.627e-05/0.6025, allocations: 12.03 kB / 432 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000281/0.6028, allocations: 85.55 kB / 432.1 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.6031, allocations: 55.34 kB / 432.2 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.6045, allocations: 352.4 kB / 432.5 MB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/0.6046, allocations: 35.62 kB / 432.5 MB, free: 5.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.6048, allocations: 45.22 kB / 432.6 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.6066, allocations: 464 kB / 433 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.585e-05/0.6067, allocations: 4 kB / 433 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.052e-05/0.6068, allocations: 21.39 kB / 433.1 MB, free: 5.305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.6069, allocations: 19.92 kB / 433.1 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.6081, allocations: 207.2 kB / 433.3 MB, free: 5.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005466/0.6136, allocations: 2.801 MB / 436.1 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009723/0.6147, allocations: 154.8 kB / 436.2 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.615, allocations: 65.17 kB / 436.3 MB, free: 2.281 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/0.6152, allocations: 85.09 kB / 436.4 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.6153, allocations: 30.56 kB / 436.4 MB, free: 2.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 4.618e-06/0.6153, allocations: 0 / 436.4 MB, free: 2.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.00257/0.6179, allocations: 0.5577 MB / 437 MB, free: 1.598 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.618, allocations: 51.41 kB / 437 MB, free: 1.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008269/0.6189, allocations: 305.4 kB / 437.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.802e-05/0.6189, allocations: 25.7 kB / 437.3 MB, free: 1.254 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.6194, allocations: 305.9 kB / 437.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.6195, allocations: 65.11 kB / 437.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.6196, allocations: 7 kB / 437.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000277/0.6198, allocations: 344.6 kB / 438.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.6202, allocations: 61.81 kB / 438.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.6207, allocations: 207.8 kB / 438.3 MB, free: 344 kB / 346.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y ($START.inverseCapacity.mass.T = $START.directCapacity.heatFlowToTemperature.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.6222, allocations: 257.5 kB / 438.6 MB, free: 108 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.6223, allocations: 0 / 438.6 MB, free: 108 kB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001455/0.6238, allocations: 336.3 kB / 438.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.6238, allocations: 4.062 kB / 438.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.759e-05/0.6239, allocations: 16 kB / 438.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003084/0.6242, allocations: 34.78 kB / 439 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/0.625, allocations: 75.03 kB / 439 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.6275, allocations: 1.454 MB / 440.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005812/0.6282, allocations: 19.89 kB / 440.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.6282, allocations: 19.31 kB / 440.5 MB, free: 14.17 MB / 362.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: directCapacity.heatFlowToTemperature.y = $START.directCapacity.heatFlowToTemperature.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002255/0.6285, allocations: 131.3 kB / 440.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.6286, allocations: 31.77 kB / 440.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.6288, allocations: 40.86 kB / 440.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.6288, allocations: 0 / 440.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.6289, allocations: 4 kB / 440.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.6289, allocations: 0 / 440.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.6311, allocations: 0.6539 MB / 441.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.6311, allocations: 3.953 kB / 441.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.6317, allocations: 31.98 kB / 441.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/0.6319, allocations: 28.34 kB / 441.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.6319, allocations: 0 / 441.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.634, allocations: 1.33 MB / 442.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.6341, allocations: 0 / 442.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.6352, allocations: 347.5 kB / 443.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.6355, allocations: 108.7 kB / 443.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-05/0.6355, allocations: 7.188 kB / 443.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.6359, allocations: 8.031 kB / 443.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.636, allocations: 20.05 kB / 443.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.6361, allocations: 4 kB / 443.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000558/0.6367, allocations: 231.7 kB / 443.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6367, allocations: 0 / 443.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001138/0.6378, allocations: 70.81 kB / 443.5 MB, free: 11.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00166/0.6395, allocations: 0.9669 MB / 444.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.6407, allocations: 284.7 kB / 444.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6407, allocations: 4 kB / 444.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.6411, allocations: 169 kB / 445 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.6418, allocations: 43.47 kB / 445 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.6453, allocations: 0.709 MB / 445.7 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/0.6462, allocations: 0.8226 MB / 446.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004173/0.6466, allocations: 39.27 kB / 446.6 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.6471, allocations: 156.2 kB / 446.7 MB, free: 8.234 MB / 362.7 MB Notification: Performance of SimCode: time 2.034e-06/0.6471, allocations: 4 kB / 446.7 MB, free: 8.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04328/0.6904, allocations: 5.974 MB / 452.7 MB, free: 2.363 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000318/0.6908, allocations: 178.9 kB / 452.9 MB, free: 2.141 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/3.581, allocations: 0 / 452.9 MB, free: 2.141 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat