Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.265/2.265, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.422e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4501/0.4501, allocations: 54.86 MB / 359.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.059/8.509, allocations: 2.612 GB / 2.964 GB, free: 115.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/8.509, allocations: 85.59 kB / 2.964 GB, free: 115.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.189/10.7, allocations: 436.3 MB / 3.39 GB, free: 52.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.194e-06/10.7, allocations: 0 / 3.39 GB, free: 52.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.698e-05/10.7, allocations: 17.94 kB / 3.39 GB, free: 52.93 MB / 490.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.008584/10.71, allocations: 1.778 MB / 3.392 GB, free: 52.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/10.71, allocations: 12.66 kB / 3.392 GB, free: 52.07 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003333/10.71, allocations: 94.33 kB / 3.392 GB, free: 52.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003857/10.71, allocations: 335.3 kB / 3.392 GB, free: 51.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/10.71, allocations: 0.5768 MB / 3.393 GB, free: 51.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/10.71, allocations: 49.16 kB / 3.393 GB, free: 51.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/10.71, allocations: 55.09 kB / 3.393 GB, free: 51.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/10.72, allocations: 0.9601 MB / 3.394 GB, free: 51.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/10.72, allocations: 7.062 kB / 3.394 GB, free: 51.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/10.72, allocations: 31 kB / 3.394 GB, free: 51.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/10.72, allocations: 19.66 kB / 3.394 GB, free: 51.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/10.72, allocations: 0.792 MB / 3.395 GB, free: 51.09 MB / 490.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.007741/10.73, allocations: 4.617 MB / 3.399 GB, free: 47.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/10.73, allocations: 0.675 MB / 3.4 GB, free: 47.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005057/10.73, allocations: 201.8 kB / 3.4 GB, free: 47.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05751/10.79, allocations: 18.44 MB / 3.418 GB, free: 35.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/10.79, allocations: 38.88 kB / 3.418 GB, free: 35.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 3.747e-06/10.79, allocations: 0 / 3.418 GB, free: 35.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.0462/10.83, allocations: 4.052 MB / 3.422 GB, free: 33.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/10.83, allocations: 107.3 kB / 3.422 GB, free: 33.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007855/10.84, allocations: 415.1 kB / 3.423 GB, free: 33.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001914/10.84, allocations: 36.89 kB / 3.423 GB, free: 33.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/10.84, allocations: 386 kB / 3.423 GB, free: 33.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/10.84, allocations: 226.3 kB / 3.423 GB, free: 33.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/10.84, allocations: 16.94 kB / 3.423 GB, free: 33.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.465e-05/10.84, allocations: 337.5 kB / 3.424 GB, free: 32.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008974/10.84, allocations: 279.5 kB / 3.424 GB, free: 32.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/10.84, allocations: 0.4962 MB / 3.424 GB, free: 32.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/10.84, allocations: 336.3 kB / 3.425 GB, free: 32.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/10.84, allocations: 3.219 kB / 3.425 GB, free: 32.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004152/10.84, allocations: 0.9999 MB / 3.426 GB, free: 31.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008535/10.84, allocations: 2.616 MB / 3.428 GB, free: 28.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/10.84, allocations: 12.91 kB / 3.428 GB, free: 28.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009154/10.85, allocations: 0.8343 MB / 3.429 GB, free: 28.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/10.86, allocations: 194 kB / 3.429 GB, free: 28.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004551/10.86, allocations: 1.635 MB / 3.431 GB, free: 27.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/10.86, allocations: 104.6 kB / 3.431 GB, free: 27.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/10.86, allocations: 52.86 kB / 3.431 GB, free: 27.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/10.86, allocations: 5.438 kB / 3.431 GB, free: 27.34 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004828/10.87, allocations: 0.9919 MB / 3.432 GB, free: 26.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/10.87, allocations: 12.95 kB / 3.432 GB, free: 26.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004837/10.87, allocations: 0.533 MB / 3.432 GB, free: 26.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/10.87, allocations: 190.5 kB / 3.433 GB, free: 26.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/10.88, allocations: 1.579 MB / 3.434 GB, free: 25.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/10.88, allocations: 108 kB / 3.434 GB, free: 25.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/10.88, allocations: 53 kB / 3.434 GB, free: 25.5 MB / 490.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.0003457/10.88, allocations: 154.6 kB / 3.434 GB, free: 25.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/10.88, allocations: 67.69 kB / 3.434 GB, free: 25.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008319/10.89, allocations: 3.663 MB / 3.438 GB, free: 23.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.99e-05/10.89, allocations: 40.02 kB / 3.438 GB, free: 23.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/10.89, allocations: 0 / 3.438 GB, free: 23.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.317e-05/10.89, allocations: 3.703 kB / 3.438 GB, free: 23.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008433/10.9, allocations: 4.67 MB / 3.443 GB, free: 21.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/10.9, allocations: 3.953 kB / 3.443 GB, free: 21.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009702/10.9, allocations: 137 kB / 3.443 GB, free: 21.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007163/10.91, allocations: 1.765 MB / 3.445 GB, free: 21.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/10.91, allocations: 22.75 kB / 3.445 GB, free: 21.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003581/10.91, allocations: 2.375 MB / 3.447 GB, free: 19.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/10.91, allocations: 0 / 3.447 GB, free: 19.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004448/10.91, allocations: 2.291 MB / 3.449 GB, free: 18.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008185/10.91, allocations: 335.5 kB / 3.449 GB, free: 17.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/10.91, allocations: 15.77 kB / 3.449 GB, free: 17.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/10.92, allocations: 105 kB / 3.45 GB, free: 17.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/10.92, allocations: 67.62 kB / 3.45 GB, free: 17.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-05/10.92, allocations: 30.16 kB / 3.45 GB, free: 17.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007024/10.92, allocations: 412 kB / 3.45 GB, free: 17.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/10.92, allocations: 0 / 3.45 GB, free: 17.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008101/10.93, allocations: 1.568 MB / 3.452 GB, free: 17.41 MB / 490.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.01688/10.94, allocations: 4.45 MB / 3.456 GB, free: 15.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005471/10.95, allocations: 1.617 MB / 3.457 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/10.95, allocations: 96 / 3.457 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002287/10.95, allocations: 0.9043 MB / 3.458 GB, free: 12.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/10.95, allocations: 290 kB / 3.459 GB, free: 12.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6711/11.62, allocations: 77.88 MB / 3.535 GB, free: 60.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/11.62, allocations: 1.139 MB / 3.536 GB, free: 60.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007849/11.63, allocations: 405.7 kB / 3.536 GB, free: 60.09 MB / 0.4948 GB Notification: Performance of SimCode: time 1.513e-06/11.63, allocations: 3.781 kB / 3.536 GB, free: 60.09 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.063/15.69, allocations: 49.23 MB / 3.584 GB, free: 56.99 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat