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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadModel(ModelicaTest): time 2.245/2.245, allocations: 270 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.999e-05/4.013e-05, allocations: 4 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.931/7.045, allocations: 2.803 GB / 3.204 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/7.045, allocations: 83.52 kB / 3.204 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.01/9.055, allocations: 462.7 MB / 3.656 GB, free: 49.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.726e-06/9.055, allocations: 0 / 3.656 GB, free: 49.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001208/9.055, allocations: 31.75 kB / 3.656 GB, free: 49.66 MB / 0.5261 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.008127/9.063, allocations: 2.305 MB / 3.658 GB, free: 48.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/9.063, allocations: 11.38 kB / 3.658 GB, free: 48.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004081/9.067, allocations: 434.3 kB / 3.659 GB, free: 48.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/9.07, allocations: 0.9822 MB / 3.66 GB, free: 47.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/9.071, allocations: 102.2 kB / 3.66 GB, free: 47.58 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/9.071, allocations: 129.3 kB / 3.66 GB, free: 47.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005022/9.076, allocations: 1.615 MB / 3.661 GB, free: 46.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-05/9.076, allocations: 15.41 kB / 3.661 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/9.076, allocations: 52.03 kB / 3.661 GB, free: 46.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.843e-05/9.076, allocations: 49.53 kB / 3.661 GB, free: 46.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00421/9.08, allocations: 1.23 MB / 3.663 GB, free: 46.3 MB / 0.5261 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.01282/9.093, allocations: 7.842 MB / 3.67 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/9.096, allocations: 0.8449 MB / 3.671 GB, free: 40.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006502/9.097, allocations: 308.5 kB / 3.671 GB, free: 40 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0502/9.147, allocations: 24.24 MB / 3.695 GB, free: 21.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/9.147, allocations: 47.06 kB / 3.695 GB, free: 21.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 4.383e-06/9.147, allocations: 0 / 3.695 GB, free: 21.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.007142/9.154, allocations: 2.198 MB / 3.697 GB, free: 19.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/9.155, allocations: 140.3 kB / 3.697 GB, free: 19.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/9.156, allocations: 0.8513 MB / 3.698 GB, free: 18.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001548/9.156, allocations: 41.7 kB / 3.698 GB, free: 18.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004564/9.157, allocations: 0.6958 MB / 3.699 GB, free: 17.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000241/9.157, allocations: 253 kB / 3.699 GB, free: 17.31 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/9.157, allocations: 20 kB / 3.699 GB, free: 17.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/9.157, allocations: 352 kB / 3.7 GB, free: 16.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/9.158, allocations: 266.4 kB / 3.7 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007894/9.159, allocations: 0.7009 MB / 3.701 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/9.159, allocations: 381.7 kB / 3.701 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/9.159, allocations: 4 kB / 3.701 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002603/9.162, allocations: 1.111 MB / 3.702 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001122/9.163, allocations: 5.752 MB / 3.708 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/9.163, allocations: 12 kB / 3.708 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/9.165, allocations: 279.2 kB / 3.708 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/9.166, allocations: 269.8 kB / 3.708 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/9.168, allocations: 0.7685 MB / 3.709 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/9.169, allocations: 97.78 kB / 3.709 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/9.17, allocations: 63.19 kB / 3.709 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/9.17, allocations: 4 kB / 3.709 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00261/9.172, allocations: 0.9984 MB / 3.71 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/9.172, allocations: 16 kB / 3.71 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/9.173, allocations: 196.3 kB / 3.71 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/9.175, allocations: 269.4 kB / 3.71 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/9.176, allocations: 0.7339 MB / 3.711 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/9.177, allocations: 95 kB / 3.711 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/9.178, allocations: 63.84 kB / 3.711 GB, free: 4.73 MB / 0.5261 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.0003191/9.178, allocations: 186.9 kB / 3.712 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/9.178, allocations: 122.6 kB / 3.712 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004353/9.183, allocations: 3.053 MB / 3.715 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.019e-05/9.183, allocations: 39.88 kB / 3.715 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.072e-06/9.183, allocations: 4 kB / 3.715 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/9.183, allocations: 3.984 kB / 3.715 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008522/9.191, allocations: 4.646 MB / 3.719 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/9.191, allocations: 0 / 3.719 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00089/9.192, allocations: 152.1 kB / 3.719 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003138/9.195, allocations: 1.232 MB / 3.721 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/9.196, allocations: 15.98 kB / 3.721 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/9.198, allocations: 1.484 MB / 3.722 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.578e-06/9.198, allocations: 4 kB / 3.722 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005418/9.203, allocations: 2.916 MB / 3.725 GB, free: 6.754 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/9.205, allocations: 434 kB / 3.725 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003471/9.205, allocations: 16 kB / 3.725 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/9.206, allocations: 87.92 kB / 3.725 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/9.206, allocations: 72.58 kB / 3.725 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.57e-05/9.207, allocations: 27.98 kB / 3.725 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001973/9.208, allocations: 0.8384 MB / 3.726 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.129e-06/9.209, allocations: 0 / 3.726 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007576/9.216, allocations: 1.663 MB / 3.728 GB, free: 3.605 MB / 0.5417 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.009227/9.225, allocations: 1.84 MB / 3.73 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004514/9.23, allocations: 1.551 MB / 3.731 GB, free: 448 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.922e-06/9.23, allocations: 0 / 3.731 GB, free: 448 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.3385/9.568, allocations: 0.734 MB / 3.732 GB, free: 68.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/9.572, allocations: 451.3 kB / 3.732 GB, free: 68.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/9.578, allocations: 2.572 MB / 3.735 GB, free: 68.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/9.58, allocations: 1.392 MB / 3.736 GB, free: 67.44 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003043/9.583, allocations: 0.7795 MB / 3.737 GB, free: 67.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/9.583, allocations: 79.2 kB / 3.737 GB, free: 67.43 MB / 0.5417 GB Notification: Performance of SimCode: time 1.714e-06/9.583, allocations: 1.219 kB / 3.737 GB, free: 67.43 MB / 0.5417 GB Notification: Performance of Templates: time 0.1041/9.687, allocations: 52.85 MB / 3.789 GB, free: 65.84 MB / 0.5417 GB