Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.121/2.121, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.664e-05/3.666e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.132/8.239, allocations: 2.502 GB / 2.816 GB, free: 61.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/8.239, allocations: 82.52 kB / 2.816 GB, free: 61.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.516/10.75, allocations: 425.5 MB / 3.232 GB, free: 46.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.743e-06/10.75, allocations: 1.312 kB / 3.232 GB, free: 46.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.601e-05/10.75, allocations: 20.73 kB / 3.232 GB, free: 46.55 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.009657/10.76, allocations: 1.718 MB / 3.233 GB, free: 45.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/10.76, allocations: 8.75 kB / 3.233 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002382/10.76, allocations: 102 kB / 3.234 GB, free: 45.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/10.77, allocations: 316.6 kB / 3.234 GB, free: 45.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/10.77, allocations: 0.5847 MB / 3.234 GB, free: 45.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-05/10.77, allocations: 46.66 kB / 3.234 GB, free: 45.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/10.77, allocations: 54.97 kB / 3.235 GB, free: 45.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003183/10.77, allocations: 0.9632 MB / 3.235 GB, free: 45.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/10.77, allocations: 8.188 kB / 3.235 GB, free: 45.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/10.77, allocations: 27.05 kB / 3.236 GB, free: 45.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/10.77, allocations: 19.78 kB / 3.236 GB, free: 45.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00273/10.78, allocations: 0.7945 MB / 3.236 GB, free: 45.33 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007598/10.78, allocations: 4.617 MB / 3.241 GB, free: 42.17 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/10.79, allocations: 0.6717 MB / 3.241 GB, free: 42.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000548/10.79, allocations: 205.6 kB / 3.242 GB, free: 42.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05689/10.84, allocations: 18.41 MB / 3.26 GB, free: 30.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/10.84, allocations: 40.94 kB / 3.26 GB, free: 30.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.587e-06/10.84, allocations: 0 / 3.26 GB, free: 30.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.04575/10.89, allocations: 4.046 MB / 3.264 GB, free: 30.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/10.89, allocations: 111.2 kB / 3.264 GB, free: 30 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007734/10.89, allocations: 413.3 kB / 3.264 GB, free: 29.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001753/10.89, allocations: 39.52 kB / 3.264 GB, free: 29.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/10.89, allocations: 383.9 kB / 3.265 GB, free: 29.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/10.89, allocations: 229.8 kB / 3.265 GB, free: 29.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/10.89, allocations: 16.66 kB / 3.265 GB, free: 29.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.93e-05/10.89, allocations: 337.8 kB / 3.265 GB, free: 29.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007402/10.89, allocations: 284.5 kB / 3.265 GB, free: 29.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008674/10.89, allocations: 0.4908 MB / 3.266 GB, free: 28.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009867/10.9, allocations: 343.3 kB / 3.266 GB, free: 28.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/10.9, allocations: 4.719 kB / 3.266 GB, free: 28.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002833/10.9, allocations: 1.002 MB / 3.267 GB, free: 28.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006798/10.9, allocations: 2.614 MB / 3.27 GB, free: 26.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/10.9, allocations: 11.5 kB / 3.27 GB, free: 26.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006802/10.91, allocations: 0.8377 MB / 3.271 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/10.91, allocations: 189.9 kB / 3.271 GB, free: 26.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/10.91, allocations: 1.628 MB / 3.272 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/10.91, allocations: 111.3 kB / 3.272 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/10.91, allocations: 50.5 kB / 3.272 GB, free: 25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/10.91, allocations: 3 kB / 3.272 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003385/10.92, allocations: 0.9986 MB / 3.273 GB, free: 24.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/10.92, allocations: 14.72 kB / 3.273 GB, free: 24.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003428/10.92, allocations: 0.5255 MB / 3.274 GB, free: 24.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/10.92, allocations: 192.7 kB / 3.274 GB, free: 24.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/10.92, allocations: 1.571 MB / 3.276 GB, free: 23.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/10.92, allocations: 117.6 kB / 3.276 GB, free: 23.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/10.92, allocations: 52.66 kB / 3.276 GB, free: 23.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003354/10.93, allocations: 153.1 kB / 3.276 GB, free: 23.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/10.93, allocations: 62.12 kB / 3.276 GB, free: 23.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008283/10.93, allocations: 3.67 MB / 3.28 GB, free: 23.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.165e-05/10.93, allocations: 31.14 kB / 3.28 GB, free: 23.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/10.93, allocations: 3.938 kB / 3.28 GB, free: 23.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/10.93, allocations: 7.297 kB / 3.28 GB, free: 23.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008506/10.94, allocations: 4.649 MB / 3.284 GB, free: 22.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/10.94, allocations: 7.688 kB / 3.284 GB, free: 22.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009631/10.94, allocations: 133.6 kB / 3.284 GB, free: 22.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007036/10.95, allocations: 1.773 MB / 3.286 GB, free: 22.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/10.95, allocations: 24.2 kB / 3.286 GB, free: 22.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003441/10.95, allocations: 2.376 MB / 3.288 GB, free: 21.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/10.95, allocations: 3.391 kB / 3.288 GB, free: 21.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004118/10.96, allocations: 2.295 MB / 3.291 GB, free: 21.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007005/10.96, allocations: 320.2 kB / 3.291 GB, free: 21.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/10.96, allocations: 15.62 kB / 3.291 GB, free: 21.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/10.96, allocations: 123.4 kB / 3.291 GB, free: 21.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/10.96, allocations: 63.98 kB / 3.291 GB, free: 21.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-05/10.96, allocations: 35.69 kB / 3.291 GB, free: 21.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006835/10.96, allocations: 408.4 kB / 3.292 GB, free: 21.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/10.96, allocations: 0 / 3.292 GB, free: 21.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007738/10.97, allocations: 1.549 MB / 3.293 GB, free: 20.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01594/10.99, allocations: 4.446 MB / 3.297 GB, free: 19.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005499/10.99, allocations: 1.615 MB / 3.299 GB, free: 19.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/10.99, allocations: 0 / 3.299 GB, free: 19.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/10.99, allocations: 0.9033 MB / 3.3 GB, free: 19.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/11, allocations: 282.8 kB / 3.3 GB, free: 19.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2473/11.24, allocations: 76.46 MB / 3.375 GB, free: 6.363 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009062/11.24, allocations: 1.14 MB / 3.376 GB, free: 5.355 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008374/11.24, allocations: 399.6 kB / 3.376 GB, free: 5.004 MB / 458.7 MB Notification: Performance of SimCode: time 1.383e-06/11.24, allocations: 0 / 3.376 GB, free: 5.004 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.396/15.64, allocations: 49.09 MB / 3.424 GB, free: 52.94 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat