Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.975/2.975, allocations: 235.2 MB / 242.3 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.107e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.432, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.847/10.28, allocations: 2.628 GB / 2.974 GB, free: 121.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003673/10.28, allocations: 86.7 kB / 2.974 GB, free: 121.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.813/13.09, allocations: 452.6 MB / 3.416 GB, free: 49.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.604e-06/13.09, allocations: 2.875 kB / 3.416 GB, free: 49.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001593/13.09, allocations: 33.72 kB / 3.416 GB, free: 49.41 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.01163/13.1, allocations: 2.335 MB / 3.418 GB, free: 48.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/13.1, allocations: 6.875 kB / 3.418 GB, free: 48.07 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005889/13.11, allocations: 138.9 kB / 3.418 GB, free: 47.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005736/13.11, allocations: 446.7 kB / 3.419 GB, free: 47.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/13.12, allocations: 1.007 MB / 3.42 GB, free: 47.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/13.12, allocations: 59.75 kB / 3.42 GB, free: 47.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004052/13.12, allocations: 80 kB / 3.42 GB, free: 47.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003587/13.12, allocations: 0.9504 MB / 3.421 GB, free: 46.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003913/13.12, allocations: 1.225 MB / 3.422 GB, free: 46.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.72e-05/13.12, allocations: 14.3 kB / 3.422 GB, free: 46.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/13.12, allocations: 3.312 kB / 3.422 GB, free: 46.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.502e-05/13.12, allocations: 54.73 kB / 3.422 GB, free: 46.25 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.7996/13.92, allocations: 71.39 MB / 3.492 GB, free: 41.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/13.92, allocations: 0.496 MB / 3.492 GB, free: 40.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006858/13.93, allocations: 260.1 kB / 3.493 GB, free: 40.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06567/13.99, allocations: 17.03 MB / 3.509 GB, free: 30.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.364e-05/13.99, allocations: 39.62 kB / 3.509 GB, free: 30.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=63): time 5.2e-06/13.99, allocations: 3.594 kB / 3.509 GB, free: 30.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.06078/14.05, allocations: 4.725 MB / 3.514 GB, free: 29.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/14.05, allocations: 140.7 kB / 3.514 GB, free: 29.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/14.05, allocations: 0.7156 MB / 3.515 GB, free: 29.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002137/14.05, allocations: 25.7 kB / 3.515 GB, free: 29.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006375/14.05, allocations: 0.7399 MB / 3.516 GB, free: 28.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004024/14.06, allocations: 285.6 kB / 3.516 GB, free: 28.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/14.06, allocations: 3.906 kB / 3.516 GB, free: 28.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/14.06, allocations: 361.7 kB / 3.516 GB, free: 28.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/14.06, allocations: 375.7 kB / 3.516 GB, free: 28.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/14.06, allocations: 0.8633 MB / 3.517 GB, free: 27.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/14.06, allocations: 0.6209 MB / 3.518 GB, free: 27.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/14.06, allocations: 7.328 kB / 3.518 GB, free: 27.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.006755/14.07, allocations: 1.546 MB / 3.519 GB, free: 27.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001438/14.07, allocations: 6.268 MB / 3.526 GB, free: 20.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.596e-05/14.07, allocations: 20.73 kB / 3.526 GB, free: 20.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004097/14.07, allocations: 461.5 kB / 3.526 GB, free: 20.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/14.08, allocations: 304.4 kB / 3.526 GB, free: 20.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004709/14.08, allocations: 1.668 MB / 3.528 GB, free: 19.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/14.08, allocations: 141.3 kB / 3.528 GB, free: 19.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/14.09, allocations: 85.03 kB / 3.528 GB, free: 19.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/14.09, allocations: 5.094 kB / 3.528 GB, free: 19.82 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004684/14.09, allocations: 1.188 MB / 3.529 GB, free: 19.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/14.09, allocations: 16.41 kB / 3.529 GB, free: 19.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003024/14.09, allocations: 307.4 kB / 3.53 GB, free: 19.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/14.1, allocations: 310.5 kB / 3.53 GB, free: 19.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/14.1, allocations: 1.407 MB / 3.531 GB, free: 18.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/14.1, allocations: 109 kB / 3.531 GB, free: 18.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/14.1, allocations: 75.11 kB / 3.531 GB, free: 18.68 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.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 (148): * Single equations (assignments): 144 * Array equations: 2 * 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 8,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005603/14.1, allocations: 158.6 kB / 3.532 GB, free: 18.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/14.1, allocations: 110 kB / 3.532 GB, free: 18.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008412/14.11, allocations: 2.763 MB / 3.534 GB, free: 18.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007201/14.12, allocations: 2.377 MB / 3.537 GB, free: 18.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/14.12, allocations: 0 / 3.537 GB, free: 18.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.633e-05/14.12, allocations: 4.734 kB / 3.537 GB, free: 18.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/14.13, allocations: 4.598 MB / 3.541 GB, free: 17.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/14.13, allocations: 0 / 3.541 GB, free: 17.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/14.13, allocations: 136.9 kB / 3.541 GB, free: 17.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005083/14.14, allocations: 1.463 MB / 3.543 GB, free: 17.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002018/14.14, allocations: 22.02 kB / 3.543 GB, free: 17.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005131/14.14, allocations: 2.644 MB / 3.545 GB, free: 16.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3046/14.45, allocations: 56.5 MB / 3.601 GB, free: 18.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008819/14.46, allocations: 3.211 MB / 3.604 GB, free: 17.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/14.46, allocations: 352 kB / 3.604 GB, free: 16.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003363/14.46, allocations: 6.5 kB / 3.604 GB, free: 16.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/14.46, allocations: 85.34 kB / 3.604 GB, free: 16.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/14.46, allocations: 62.25 kB / 3.604 GB, free: 16.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/14.46, allocations: 32.39 kB / 3.604 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001491/14.46, allocations: 0.6248 MB / 3.605 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.41e-07/14.46, allocations: 0 / 3.605 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02201/14.48, allocations: 3.927 MB / 3.609 GB, free: 12.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.04968/14.53, allocations: 6.667 MB / 3.615 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007637/14.54, allocations: 1.893 MB / 3.617 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/14.54, allocations: 0 / 3.617 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002875/14.54, allocations: 0.8144 MB / 3.618 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/14.55, allocations: 350.8 kB / 3.618 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/14.57, allocations: 3.849 MB / 3.622 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/14.57, allocations: 1.364 MB / 3.623 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004189/14.58, allocations: 0.8733 MB / 3.624 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001543/14.58, allocations: 0.6404 MB / 3.625 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of SimCode: time 2.254e-06/14.58, allocations: 0 / 3.625 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8939/15.47, allocations: 135.6 MB / 3.757 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0009795/15.47, allocations: 223.4 kB / 3.757 GB, free: 56.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 12.17/27.64, allocations: 1.781 kB / 3.757 GB, free: 56.99 MB / 0.5105 GB