Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadModel(ModelicaTest): time 2.3/2.3, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.431e-05, allocations: 0 / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3265, allocations: 58.83 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.737/7.064, allocations: 2.797 GB / 3.171 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/7.064, allocations: 84.94 kB / 3.171 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.869/8.933, allocations: 458.1 MB / 3.618 GB, free: 62.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.494e-06/8.933, allocations: 0 / 3.618 GB, free: 62.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001041/8.933, allocations: 33.56 kB / 3.618 GB, free: 62.44 MB / 0.5105 GB 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.007044/8.94, allocations: 2.296 MB / 3.62 GB, free: 61.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/8.94, allocations: 11.25 kB / 3.62 GB, free: 61.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003783/8.944, allocations: 443.5 kB / 3.621 GB, free: 61.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/8.947, allocations: 0.9688 MB / 3.622 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/8.947, allocations: 110 kB / 3.622 GB, free: 60.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/8.947, allocations: 130.1 kB / 3.622 GB, free: 60.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004324/8.951, allocations: 1.617 MB / 3.623 GB, free: 59.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/8.951, allocations: 3.906 kB / 3.623 GB, free: 59.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/8.952, allocations: 62.91 kB / 3.624 GB, free: 59.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-05/8.952, allocations: 48.55 kB / 3.624 GB, free: 59.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003422/8.955, allocations: 1.223 MB / 3.625 GB, free: 59.11 MB / 0.5105 GB 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.01086/8.966, allocations: 7.846 MB / 3.632 GB, free: 53.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002952/8.969, allocations: 0.8526 MB / 3.633 GB, free: 52.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/8.969, allocations: 308 kB / 3.634 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05297/9.022, allocations: 24.23 MB / 3.657 GB, free: 37.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/9.023, allocations: 39 kB / 3.657 GB, free: 37.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 4.912e-06/9.023, allocations: 7.875 kB / 3.657 GB, free: 37.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71): time 0.007265/9.03, allocations: 2.21 MB / 3.659 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/9.03, allocations: 136.3 kB / 3.66 GB, free: 36.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/9.031, allocations: 0.8505 MB / 3.66 GB, free: 35.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-05/9.032, allocations: 37.67 kB / 3.66 GB, free: 35.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/9.032, allocations: 0.6906 MB / 3.661 GB, free: 35.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/9.032, allocations: 247.5 kB / 3.661 GB, free: 34.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/9.032, allocations: 27.62 kB / 3.661 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.89e-05/9.032, allocations: 348.7 kB / 3.662 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006259/9.033, allocations: 263 kB / 3.662 GB, free: 34.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008104/9.034, allocations: 0.7022 MB / 3.663 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007704/9.035, allocations: 381.3 kB / 3.663 GB, free: 33.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/9.035, allocations: 7.25 kB / 3.663 GB, free: 33.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002478/9.037, allocations: 1.112 MB / 3.664 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001091/9.038, allocations: 5.748 MB / 3.67 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/9.038, allocations: 16.53 kB / 3.67 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/9.04, allocations: 278.1 kB / 3.67 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/9.042, allocations: 270.5 kB / 3.67 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/9.043, allocations: 0.7753 MB / 3.671 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/9.044, allocations: 98.42 kB / 3.671 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/9.045, allocations: 63.88 kB / 3.671 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/9.045, allocations: 7.344 kB / 3.671 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002508/9.047, allocations: 0.9874 MB / 3.672 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/9.047, allocations: 11.09 kB / 3.672 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/9.048, allocations: 193.2 kB / 3.672 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/9.05, allocations: 271.9 kB / 3.673 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/9.051, allocations: 0.7451 MB / 3.673 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/9.052, allocations: 92.95 kB / 3.673 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/9.052, allocations: 63.75 kB / 3.673 GB, free: 25.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (128): * Single equations (assignments): 127 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003216/9.053, allocations: 183.2 kB / 3.674 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/9.053, allocations: 126.6 kB / 3.674 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004534/9.058, allocations: 3.05 MB / 3.677 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.98e-05/9.058, allocations: 42.72 kB / 3.677 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/9.058, allocations: 4 kB / 3.677 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/9.058, allocations: 3.562 kB / 3.677 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006821/9.064, allocations: 4.639 MB / 3.681 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/9.065, allocations: 4.031 kB / 3.681 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008228/9.065, allocations: 151.3 kB / 3.681 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002727/9.068, allocations: 1.235 MB / 3.683 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.946e-05/9.068, allocations: 23.61 kB / 3.683 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/9.07, allocations: 1.484 MB / 3.684 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.714e-06/9.07, allocations: 4 kB / 3.684 GB, free: 16.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004058/9.074, allocations: 2.917 MB / 3.687 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00084/9.075, allocations: 427.9 kB / 3.687 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/9.075, allocations: 16 kB / 3.687 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/9.076, allocations: 83.53 kB / 3.688 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/9.076, allocations: 70.28 kB / 3.688 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/9.076, allocations: 35.66 kB / 3.688 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001408/9.078, allocations: 0.8379 MB / 3.688 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.87e-07/9.078, allocations: 0 / 3.688 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006116/9.084, allocations: 1.659 MB / 3.69 GB, free: 10.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i) * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (65): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.007566/9.092, allocations: 1.828 MB / 3.692 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003773/9.095, allocations: 1.547 MB / 3.693 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.785e-06/9.095, allocations: 4.125 kB / 3.693 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/9.097, allocations: 0.7399 MB / 3.694 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/9.099, allocations: 456.4 kB / 3.695 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/9.104, allocations: 2.565 MB / 3.697 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009014/9.105, allocations: 1.395 MB / 3.698 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002218/9.107, allocations: 0.7766 MB / 3.699 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/9.107, allocations: 82.66 kB / 3.699 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of SimCode: time 2.091e-06/9.107, allocations: 0 / 3.699 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of Templates: time 0.4273/9.535, allocations: 52.99 MB / 3.751 GB, free: 74.75 MB / 0.5261 GB