Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.454/2.454, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.571e-05/2.58e-05, allocations: 0 / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3654, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.997/8.363, allocations: 2.627 GB / 2.974 GB, free: 121.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/8.363, allocations: 88.33 kB / 2.974 GB, free: 121.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.347/10.71, allocations: 451.1 MB / 3.414 GB, free: 48.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.244e-06/10.71, allocations: 0 / 3.414 GB, free: 48.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001274/10.71, allocations: 41.22 kB / 3.414 GB, free: 48.92 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.00964/10.72, allocations: 2.29 MB / 3.417 GB, free: 47.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/10.72, allocations: 11.28 kB / 3.417 GB, free: 47.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004664/10.72, allocations: 438.9 kB / 3.417 GB, free: 47.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/10.73, allocations: 1.004 MB / 3.418 GB, free: 46.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.202e-05/10.73, allocations: 49.64 kB / 3.418 GB, free: 46.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/10.73, allocations: 84.5 kB / 3.418 GB, free: 46.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002751/10.73, allocations: 0.9249 MB / 3.419 GB, free: 46.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/10.73, allocations: 1.207 MB / 3.42 GB, free: 45.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.886e-05/10.73, allocations: 0 / 3.42 GB, free: 45.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/10.73, allocations: 3.562 kB / 3.42 GB, free: 45.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.709e-05/10.73, allocations: 49.5 kB / 3.42 GB, free: 45.88 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.6445/11.38, allocations: 71.43 MB / 3.49 GB, free: 41.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/11.38, allocations: 491.1 kB / 3.49 GB, free: 41.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005487/11.38, allocations: 256.4 kB / 3.491 GB, free: 41.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05213/11.43, allocations: 17.02 MB / 3.507 GB, free: 31.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/11.43, allocations: 45.66 kB / 3.507 GB, free: 31.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=60): time 3.416e-06/11.43, allocations: 2.375 kB / 3.507 GB, free: 31.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.04772/11.48, allocations: 4.706 MB / 3.512 GB, free: 30.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/11.48, allocations: 136.9 kB / 3.512 GB, free: 30.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/11.48, allocations: 0.7147 MB / 3.513 GB, free: 30.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001458/11.48, allocations: 25.7 kB / 3.513 GB, free: 30.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005393/11.48, allocations: 0.7365 MB / 3.513 GB, free: 29.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/11.48, allocations: 283.3 kB / 3.514 GB, free: 29.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/11.48, allocations: 0 / 3.514 GB, free: 29.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/11.48, allocations: 359.5 kB / 3.514 GB, free: 29.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008963/11.48, allocations: 361.4 kB / 3.514 GB, free: 29.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/11.49, allocations: 0.8471 MB / 3.515 GB, free: 28.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/11.49, allocations: 0.5918 MB / 3.516 GB, free: 28.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/11.49, allocations: 3.969 kB / 3.516 GB, free: 28.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.005323/11.49, allocations: 1.535 MB / 3.517 GB, free: 28.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001303/11.49, allocations: 6.36 MB / 3.524 GB, free: 21.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-05/11.49, allocations: 16.92 kB / 3.524 GB, free: 21.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004457/11.5, allocations: 0.5633 MB / 3.524 GB, free: 21.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/11.5, allocations: 296.8 kB / 3.524 GB, free: 21.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004215/11.51, allocations: 1.796 MB / 3.526 GB, free: 20.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/11.51, allocations: 124.9 kB / 3.526 GB, free: 20.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/11.51, allocations: 79.81 kB / 3.526 GB, free: 20.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/11.51, allocations: 4.594 kB / 3.526 GB, free: 20.79 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005066/11.51, allocations: 1.237 MB / 3.528 GB, free: 20.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/11.51, allocations: 15.25 kB / 3.528 GB, free: 20.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002908/11.52, allocations: 381.2 kB / 3.528 GB, free: 20.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/11.52, allocations: 304.4 kB / 3.528 GB, free: 20.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/11.52, allocations: 1.493 MB / 3.53 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/11.52, allocations: 90.47 kB / 3.53 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/11.52, allocations: 71.94 kB / 3.53 GB, free: 19.65 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: 73 * 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 (142): * Single equations (assignments): 140 * 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.0004816/11.52, allocations: 158.4 kB / 3.53 GB, free: 19.54 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005661/11.53, allocations: 1.133 MB / 3.531 GB, free: 19.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/11.53, allocations: 115.3 kB / 3.531 GB, free: 19.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006958/11.54, allocations: 2.703 MB / 3.534 GB, free: 19.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.603e-05/11.54, allocations: 25.42 kB / 3.534 GB, free: 19.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/11.54, allocations: 5.453 kB / 3.534 GB, free: 19.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/11.54, allocations: 6.141 kB / 3.534 GB, free: 19.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/11.55, allocations: 4.282 MB / 3.538 GB, free: 18.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/11.55, allocations: 7.688 kB / 3.538 GB, free: 18.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009366/11.55, allocations: 114.3 kB / 3.538 GB, free: 18.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004729/11.55, allocations: 1.511 MB / 3.54 GB, free: 18.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/11.55, allocations: 16.38 kB / 3.54 GB, free: 18.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00443/11.56, allocations: 2.65 MB / 3.542 GB, free: 17.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2553/11.81, allocations: 56.92 MB / 3.598 GB, free: 20.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006176/11.82, allocations: 2.923 MB / 3.601 GB, free: 19.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009846/11.82, allocations: 345.2 kB / 3.601 GB, free: 19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003335/11.82, allocations: 4 kB / 3.601 GB, free: 19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/11.82, allocations: 80.84 kB / 3.601 GB, free: 18.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/11.82, allocations: 68.75 kB / 3.601 GB, free: 18.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/11.82, allocations: 33.91 kB / 3.601 GB, free: 18.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001314/11.82, allocations: 0.6252 MB / 3.602 GB, free: 18.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.21e-07/11.82, allocations: 0 / 3.602 GB, free: 18.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01842/11.84, allocations: 3.887 MB / 3.606 GB, free: 15.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 ($STATESET1.x,motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 57 * 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 8,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.04367/11.89, allocations: 6.578 MB / 3.612 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006979/11.89, allocations: 1.816 MB / 3.614 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/11.89, allocations: 0 / 3.614 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002637/11.9, allocations: 0.7518 MB / 3.615 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/11.9, allocations: 346.3 kB / 3.615 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/11.92, allocations: 3.756 MB / 3.619 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/11.92, allocations: 1.36 MB / 3.62 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003689/11.92, allocations: 0.8921 MB / 3.621 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/11.92, allocations: 0.6277 MB / 3.621 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of SimCode: time 1.242e-06/11.92, allocations: 0 / 3.621 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.75/12.67, allocations: 131.6 MB / 3.75 GB, free: 60.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003176/12.67, allocations: 197.1 kB / 3.75 GB, free: 60.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.785/22.46, allocations: 0.7656 kB / 3.75 GB, free: 60.06 MB / 0.5105 GB