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.422/2.422, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.72e-05/3.738e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.3995, allocations: 54.86 MB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.017/8.416, allocations: 2.628 GB / 2.974 GB, free: 121.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/8.416, allocations: 87.89 kB / 2.974 GB, free: 121.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.316/10.73, allocations: 451.9 MB / 3.415 GB, free: 49.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.485e-06/10.73, allocations: 0 / 3.415 GB, free: 49.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001326/10.73, allocations: 36.28 kB / 3.415 GB, free: 49.43 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.009972/10.74, allocations: 2.324 MB / 3.418 GB, free: 48.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/10.74, allocations: 10.44 kB / 3.418 GB, free: 48.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004653/10.75, allocations: 443.3 kB / 3.418 GB, free: 47.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/10.75, allocations: 1.01 MB / 3.419 GB, free: 47.37 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/10.75, allocations: 47.33 kB / 3.419 GB, free: 47.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/10.75, allocations: 80.59 kB / 3.419 GB, free: 47.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002972/10.75, allocations: 0.9461 MB / 3.42 GB, free: 47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/10.76, allocations: 1.226 MB / 3.421 GB, free: 46.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.902e-05/10.76, allocations: 11.03 kB / 3.421 GB, free: 46.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/10.76, allocations: 3.719 kB / 3.421 GB, free: 46.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.155e-05/10.76, allocations: 46.86 kB / 3.421 GB, free: 46.36 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.6742/11.43, allocations: 71.4 MB / 3.491 GB, free: 41.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/11.43, allocations: 0.4926 MB / 3.492 GB, free: 41.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/11.43, allocations: 263.4 kB / 3.492 GB, free: 41.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05559/11.49, allocations: 17.03 MB / 3.508 GB, free: 30.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/11.49, allocations: 42.94 kB / 3.509 GB, free: 30.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=63): time 3.366e-06/11.49, allocations: 0.9375 kB / 3.509 GB, free: 30.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.04869/11.54, allocations: 4.725 MB / 3.513 GB, free: 30.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/11.54, allocations: 143.3 kB / 3.513 GB, free: 29.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/11.54, allocations: 0.7068 MB / 3.514 GB, free: 29.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002169/11.54, allocations: 25.7 kB / 3.514 GB, free: 29.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005596/11.54, allocations: 0.744 MB / 3.515 GB, free: 29.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/11.54, allocations: 287.9 kB / 3.515 GB, free: 29.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/11.54, allocations: 0 / 3.515 GB, free: 29.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/11.54, allocations: 361.3 kB / 3.515 GB, free: 28.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009419/11.54, allocations: 374.5 kB / 3.516 GB, free: 28.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/11.54, allocations: 0.8644 MB / 3.517 GB, free: 28.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/11.55, allocations: 0.6279 MB / 3.517 GB, free: 28.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/11.55, allocations: 3.188 kB / 3.517 GB, free: 28.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00561/11.55, allocations: 1.542 MB / 3.519 GB, free: 28.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001236/11.55, allocations: 6.268 MB / 3.525 GB, free: 21.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.789e-05/11.55, allocations: 19.41 kB / 3.525 GB, free: 21.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003388/11.56, allocations: 464.7 kB / 3.525 GB, free: 21.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/11.56, allocations: 306.4 kB / 3.526 GB, free: 21.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/11.56, allocations: 1.67 MB / 3.527 GB, free: 20.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/11.57, allocations: 146.2 kB / 3.527 GB, free: 20.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/11.57, allocations: 83.67 kB / 3.527 GB, free: 20.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/11.57, allocations: 7.922 kB / 3.527 GB, free: 20.49 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004115/11.57, allocations: 1.186 MB / 3.529 GB, free: 20.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/11.57, allocations: 15.62 kB / 3.529 GB, free: 20.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002545/11.57, allocations: 310.6 kB / 3.529 GB, free: 20.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/11.57, allocations: 303 kB / 3.529 GB, free: 20.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/11.58, allocations: 1.404 MB / 3.531 GB, free: 19.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/11.58, allocations: 114.4 kB / 3.531 GB, free: 19.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/11.58, allocations: 75.62 kB / 3.531 GB, free: 19.36 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.0005141/11.58, allocations: 149.7 kB / 3.531 GB, free: 19.25 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005138/11.59, allocations: 1.102 MB / 3.532 GB, free: 19.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/11.59, allocations: 109.7 kB / 3.532 GB, free: 19.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006992/11.59, allocations: 2.771 MB / 3.535 GB, free: 18.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006026/11.6, allocations: 2.373 MB / 3.537 GB, free: 18.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/11.6, allocations: 0 / 3.537 GB, free: 18.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/11.6, allocations: 15.02 kB / 3.537 GB, free: 18.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/11.61, allocations: 4.588 MB / 3.542 GB, free: 18.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/11.61, allocations: 0 / 3.542 GB, free: 18.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/11.61, allocations: 136.5 kB / 3.542 GB, free: 18.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004017/11.61, allocations: 1.464 MB / 3.543 GB, free: 18.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/11.61, allocations: 11.31 kB / 3.543 GB, free: 18.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004124/11.62, allocations: 2.643 MB / 3.546 GB, free: 17.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2562/11.88, allocations: 56.5 MB / 3.601 GB, free: 18.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/11.89, allocations: 3.217 MB / 3.604 GB, free: 17.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/11.89, allocations: 362.6 kB / 3.604 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005132/11.89, allocations: 4 kB / 3.604 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/11.89, allocations: 81.67 kB / 3.604 GB, free: 16.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/11.89, allocations: 62.22 kB / 3.605 GB, free: 16.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/11.89, allocations: 34.47 kB / 3.605 GB, free: 16.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001875/11.89, allocations: 0.6205 MB / 3.605 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.62e-07/11.89, allocations: 1.875 kB / 3.605 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.03677/11.93, allocations: 3.927 MB / 3.609 GB, free: 12.89 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.07519/12, allocations: 6.69 MB / 3.616 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007368/12.01, allocations: 1.887 MB / 3.617 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/12.01, allocations: 0 / 3.617 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002784/12.02, allocations: 0.8138 MB / 3.618 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003827/12.02, allocations: 354.2 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.02025/12.04, allocations: 3.83 MB / 3.622 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/12.04, allocations: 1.367 MB / 3.624 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003983/12.04, allocations: 0.8761 MB / 3.624 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/12.05, allocations: 0.6375 MB / 3.625 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of SimCode: time 1.242e-06/12.05, allocations: 0 / 3.625 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7384/12.78, allocations: 131.1 MB / 3.753 GB, free: 59.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002301/12.78, allocations: 219.4 kB / 3.753 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.871/22.66, allocations: 3.906 kB / 3.753 GB, free: 59.01 MB / 0.5105 GB