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.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadModel(ModelicaTest): time 2.476/2.476, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.865e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4318, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor): time 0.06345/0.4953, allocations: 38.18 MB / 401.1 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03612/0.5315, allocations: 17.5 MB / 418.6 MB, free: 5.973 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.5343, allocations: 59.69 kB / 418.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.537, allocations: 0.575 MB / 419.2 MB, free: 5.336 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01658/0.5537, allocations: 3.96 MB / 423.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01188/0.5656, allocations: 2.701 MB / 425.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005394/0.571, allocations: 1.392 MB / 427.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.5733, allocations: 0.7034 MB / 428 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.5766, allocations: 0.8257 MB / 428.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01634/0.593, allocations: 6.534 MB / 435.3 MB, free: 5.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02195/0.615, allocations: 7.117 MB / 442.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004217/0.6193, allocations: 456 kB / 442.9 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007468/0.6201, allocations: 247 kB / 443.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000729/0.6208, allocations: 160 kB / 443.3 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.6324, allocations: 4.326 MB / 447.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6324, allocations: 0 / 447.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6325, allocations: 0 / 447.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.673e-05/0.6325, allocations: 0 / 447.6 MB, free: 8.875 MB / 378.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.007301/0.6399, allocations: 2.033 MB / 449.6 MB, free: 6.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.6399, allocations: 12.03 kB / 449.6 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004028/0.644, allocations: 405.7 kB / 450 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/0.6469, allocations: 0.9105 MB / 451 MB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.6471, allocations: 98.61 kB / 451 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003153/0.6474, allocations: 128 kB / 451.2 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007923/0.6554, allocations: 1.649 MB / 452.8 MB, free: 3.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/0.6556, allocations: 3.906 kB / 452.8 MB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/0.6559, allocations: 60 kB / 452.9 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/0.656, allocations: 54.23 kB / 452.9 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007418/0.6634, allocations: 1.34 MB / 454.3 MB, free: 1.988 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01556/0.6791, allocations: 7.618 MB / 461.9 MB, free: 9.797 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004346/0.6834, allocations: 0.9224 MB / 462.8 MB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06653/0.75, allocations: 18.6 MB / 481.4 MB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.365e-05/0.7502, allocations: 51.06 kB / 481.5 MB, free: 3.938 MB / 410.7 MB Notification: Performance of pre-optimization done (n=68): time 4.078e-06/0.7502, allocations: 0 / 481.5 MB, free: 3.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.0572/0.8074, allocations: 5.95 MB / 487.4 MB, free: 13.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.6146/1.422, allocations: 48.87 MB / 0.5237 GB, free: 99.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/1.424, allocations: 0.7748 MB / 0.5245 GB, free: 98.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002128/1.424, allocations: 41.7 kB / 0.5245 GB, free: 98.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006878/1.425, allocations: 0.7079 MB / 0.5252 GB, free: 97.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004076/1.425, allocations: 325.3 kB / 0.5255 GB, free: 97.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/1.426, allocations: 28 kB / 0.5255 GB, free: 97.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/1.426, allocations: 353.9 kB / 0.5259 GB, free: 97.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/1.428, allocations: 467.8 kB / 0.5263 GB, free: 96.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/1.43, allocations: 0.9604 MB / 0.5273 GB, free: 95.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/1.433, allocations: 0.5878 MB / 0.5278 GB, free: 95.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/1.433, allocations: 12 kB / 0.5279 GB, free: 95.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.007691/1.441, allocations: 1.736 MB / 0.5295 GB, free: 93.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002169/1.443, allocations: 6.353 MB / 0.5358 GB, free: 86.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.757e-05/1.443, allocations: 16 kB / 0.5358 GB, free: 86.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007761/1.451, allocations: 0.9853 MB / 0.5367 GB, free: 85.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/1.453, allocations: 307.5 kB / 0.537 GB, free: 85.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003505/1.456, allocations: 1.682 MB / 0.5387 GB, free: 83.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/1.458, allocations: 111.8 kB / 0.5388 GB, free: 83.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/1.459, allocations: 83.91 kB / 0.5389 GB, free: 83.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.459, allocations: 5.094 kB / 0.5389 GB, free: 83.2 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007195/1.466, allocations: 1.777 MB / 0.5406 GB, free: 81.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/1.466, allocations: 17 kB / 0.5406 GB, free: 81.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005096/1.471, allocations: 0.6777 MB / 0.5413 GB, free: 80.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/1.473, allocations: 303.5 kB / 0.5416 GB, free: 80.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/1.476, allocations: 1.643 MB / 0.5432 GB, free: 78.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.478, allocations: 115.8 kB / 0.5433 GB, free: 78.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/1.479, allocations: 75.94 kB / 0.5433 GB, free: 78.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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 (145): * Single equations (assignments): 143 * 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 9,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0009161/1.479, allocations: 341.3 kB / 0.5437 GB, free: 78.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/1.48, allocations: 114.6 kB / 0.5438 GB, free: 78.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008601/1.488, allocations: 3.724 MB / 0.5474 GB, free: 74.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.977e-05/1.489, allocations: 39.94 kB / 0.5475 GB, free: 74.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.489, allocations: 0 / 0.5475 GB, free: 74.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.243e-05/1.489, allocations: 7.984 kB / 0.5475 GB, free: 74.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/1.502, allocations: 5.875 MB / 0.5532 GB, free: 68.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/1.502, allocations: 0 / 0.5532 GB, free: 68.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/1.503, allocations: 159.8 kB / 0.5534 GB, free: 68.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006866/1.51, allocations: 1.603 MB / 0.5549 GB, free: 66.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/1.51, allocations: 31.98 kB / 0.555 GB, free: 66.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004058/1.514, allocations: 2.401 MB / 0.5573 GB, free: 64.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09108/1.605, allocations: 25.29 MB / 0.582 GB, free: 38.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009235/1.615, allocations: 3.856 MB / 0.5858 GB, free: 34.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008979/1.615, allocations: 394.3 kB / 0.5861 GB, free: 33.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003187/1.616, allocations: 16 kB / 0.5862 GB, free: 33.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.617, allocations: 87.92 kB / 0.5862 GB, free: 33.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/1.618, allocations: 80.78 kB / 0.5863 GB, free: 33.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.618, allocations: 35.98 kB / 0.5863 GB, free: 33.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001292/1.619, allocations: 0.6665 MB / 0.587 GB, free: 32.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.619, allocations: 4 kB / 0.587 GB, free: 32.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01543/1.634, allocations: 3.943 MB / 0.5909 GB, free: 29.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 ($STATESET1.x,motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 21 ($cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (75): * Single equations (assignments): 67 * 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: 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 7,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.03248/1.667, allocations: 2.834 MB / 0.5936 GB, free: 26.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007993/1.675, allocations: 2.428 MB / 0.596 GB, free: 24.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.675, allocations: 0 / 0.596 GB, free: 24.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002926/1.678, allocations: 1.107 MB / 0.5971 GB, free: 23.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/1.681, allocations: 394.8 kB / 0.5974 GB, free: 22.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009741/1.691, allocations: 5.063 MB / 0.6024 GB, free: 17.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.692, allocations: 1.428 MB / 0.6038 GB, free: 16.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003101/1.695, allocations: 0.7856 MB / 0.6046 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/1.696, allocations: 91.42 kB / 0.6046 GB, free: 15.29 MB / 426.7 MB Notification: Performance of SimCode: time 2.304e-06/1.696, allocations: 0 / 0.6046 GB, free: 15.29 MB / 426.7 MB Notification: Performance of Templates: time 0.6924/2.388, allocations: 155 MB / 0.756 GB, free: 82.93 MB / 474.7 MB