Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 235 MB / 247.1 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.586e-05/3.615e-05, allocations: 7.938 kB / 305 MB, free: 5.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4226, allocations: 54.85 MB / 359.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.805/8.228, allocations: 2.612 GB / 2.964 GB, free: 115.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/8.228, allocations: 88.05 kB / 2.964 GB, free: 115.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.281/10.51, allocations: 436.4 MB / 3.39 GB, free: 52.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.264e-06/10.51, allocations: 0 / 3.39 GB, free: 52.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.514e-05/10.51, allocations: 13.34 kB / 3.39 GB, free: 52.14 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.007561/10.52, allocations: 1.766 MB / 3.392 GB, free: 51.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/10.52, allocations: 11.03 kB / 3.392 GB, free: 51.21 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002102/10.52, allocations: 101.8 kB / 3.392 GB, free: 51.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003429/10.52, allocations: 322.1 kB / 3.392 GB, free: 51.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/10.52, allocations: 0.59 MB / 3.393 GB, free: 50.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.408e-05/10.52, allocations: 53.33 kB / 3.393 GB, free: 50.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/10.52, allocations: 51.28 kB / 3.393 GB, free: 50.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/10.53, allocations: 0.9602 MB / 3.394 GB, free: 50.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/10.53, allocations: 6.938 kB / 3.394 GB, free: 50.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/10.53, allocations: 27.44 kB / 3.394 GB, free: 50.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-05/10.53, allocations: 21.89 kB / 3.394 GB, free: 50.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/10.53, allocations: 0.8029 MB / 3.395 GB, free: 49.99 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.008429/10.54, allocations: 4.615 MB / 3.399 GB, free: 46.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/10.54, allocations: 0.6851 MB / 3.4 GB, free: 46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/10.54, allocations: 214.2 kB / 3.4 GB, free: 45.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05575/10.6, allocations: 18.43 MB / 3.418 GB, free: 34.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/10.6, allocations: 38.72 kB / 3.418 GB, free: 33.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 3.747e-06/10.6, allocations: 0 / 3.418 GB, free: 33.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.05064/10.65, allocations: 4.046 MB / 3.422 GB, free: 32.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/10.65, allocations: 113.9 kB / 3.422 GB, free: 32.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006802/10.65, allocations: 406.4 kB / 3.423 GB, free: 32.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/10.65, allocations: 44.77 kB / 3.423 GB, free: 32.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/10.65, allocations: 354.2 kB / 3.423 GB, free: 32.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/10.65, allocations: 219.9 kB / 3.423 GB, free: 31.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/10.65, allocations: 18.75 kB / 3.423 GB, free: 31.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/10.65, allocations: 366.6 kB / 3.424 GB, free: 31.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007377/10.65, allocations: 283.1 kB / 3.424 GB, free: 31.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008355/10.65, allocations: 0.4968 MB / 3.424 GB, free: 31.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008779/10.65, allocations: 341.1 kB / 3.425 GB, free: 30.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/10.65, allocations: 0 / 3.425 GB, free: 30.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002781/10.65, allocations: 1.056 MB / 3.426 GB, free: 30.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005933/10.65, allocations: 2.612 MB / 3.428 GB, free: 27.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/10.65, allocations: 10.91 kB / 3.428 GB, free: 27.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006331/10.66, allocations: 0.8376 MB / 3.429 GB, free: 27.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/10.66, allocations: 188.3 kB / 3.429 GB, free: 27.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/10.67, allocations: 1.633 MB / 3.431 GB, free: 26.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/10.67, allocations: 112.3 kB / 3.431 GB, free: 26.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/10.67, allocations: 53.62 kB / 3.431 GB, free: 26.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/10.67, allocations: 7.75 kB / 3.431 GB, free: 26.23 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003235/10.67, allocations: 1.013 MB / 3.432 GB, free: 25.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/10.67, allocations: 7.312 kB / 3.432 GB, free: 25.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00372/10.67, allocations: 0.5716 MB / 3.433 GB, free: 25.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/10.68, allocations: 188.6 kB / 3.433 GB, free: 25.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/10.68, allocations: 1.588 MB / 3.434 GB, free: 24.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/10.68, allocations: 114.1 kB / 3.434 GB, free: 24.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/10.68, allocations: 50.47 kB / 3.434 GB, free: 24.38 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.0003363/10.68, allocations: 150.1 kB / 3.435 GB, free: 24.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/10.68, allocations: 62.09 kB / 3.435 GB, free: 24.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008004/10.69, allocations: 3.666 MB / 3.438 GB, free: 22.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.775e-05/10.69, allocations: 30.69 kB / 3.438 GB, free: 22.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/10.69, allocations: 3.891 kB / 3.438 GB, free: 22.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/10.69, allocations: 3.938 kB / 3.438 GB, free: 22.56 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008346/10.7, allocations: 4.672 MB / 3.443 GB, free: 20.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/10.7, allocations: 3.953 kB / 3.443 GB, free: 20.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00095/10.7, allocations: 135.3 kB / 3.443 GB, free: 20.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006809/10.7, allocations: 1.776 MB / 3.445 GB, free: 19.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/10.71, allocations: 19.3 kB / 3.445 GB, free: 19.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003391/10.71, allocations: 2.375 MB / 3.447 GB, free: 18.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/10.71, allocations: 3.344 kB / 3.447 GB, free: 18.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/10.71, allocations: 2.293 MB / 3.449 GB, free: 17.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006557/10.71, allocations: 325.4 kB / 3.45 GB, free: 16.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/10.71, allocations: 23.7 kB / 3.45 GB, free: 16.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/10.71, allocations: 107.3 kB / 3.45 GB, free: 16.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/10.72, allocations: 62.25 kB / 3.45 GB, free: 16.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/10.72, allocations: 28.88 kB / 3.45 GB, free: 16.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006441/10.72, allocations: 419.5 kB / 3.45 GB, free: 16.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.11e-07/10.72, allocations: 0 / 3.45 GB, free: 16.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007023/10.72, allocations: 1.562 MB / 3.452 GB, free: 16.28 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.01618/10.74, allocations: 4.447 MB / 3.456 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005309/10.74, allocations: 1.664 MB / 3.458 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/10.74, allocations: 4 kB / 3.458 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001951/10.75, allocations: 0.8977 MB / 3.459 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/10.75, allocations: 295.3 kB / 3.459 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6717/11.42, allocations: 77.71 MB / 3.535 GB, free: 60.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/11.42, allocations: 1.141 MB / 3.536 GB, free: 59.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00201/11.42, allocations: 0.6693 MB / 3.536 GB, free: 59.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/11.42, allocations: 389.8 kB / 3.537 GB, free: 59.74 MB / 0.4948 GB Notification: Performance of SimCode: time 1.011e-06/11.42, allocations: 1.203 kB / 3.537 GB, free: 59.74 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1728/11.6, allocations: 64.69 MB / 3.6 GB, free: 57.05 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/11.6, allocations: 255.5 kB / 3.6 GB, free: 56.71 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.916/17.51, allocations: 0 / 3.6 GB, free: 56.71 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat