Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadModel(ModelicaTest): time 1.94/1.94, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.236e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3618, allocations: 48.7 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.05605/0.4179, allocations: 33.96 MB / 358.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03365/0.4516, allocations: 16.14 MB / 375 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.4529, allocations: 31.75 kB / 375 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.4545, allocations: 398 kB / 375.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01536/0.4699, allocations: 3.587 MB / 379 MB, free: 9.285 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01146/0.4814, allocations: 2.578 MB / 381.6 MB, free: 6.707 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00266/0.484, allocations: 0.81 MB / 382.4 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007841/0.4849, allocations: 299.4 kB / 382.7 MB, free: 5.602 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.4868, allocations: 0.5765 MB / 383.2 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.016/0.5028, allocations: 6.18 MB / 389.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02153/0.5244, allocations: 7.035 MB / 396.5 MB, free: 7.797 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003836/0.5283, allocations: 420 kB / 396.9 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005179/0.5288, allocations: 143.5 kB / 397 MB, free: 7.246 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000437/0.5293, allocations: 83.94 kB / 397.1 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009825/0.5391, allocations: 3.337 MB / 400.4 MB, free: 3.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5392, allocations: 0 / 400.4 MB, free: 3.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5392, allocations: 0 / 400.4 MB, free: 3.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.5392, allocations: 0 / 400.4 MB, free: 3.82 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005124/0.5444, allocations: 1.447 MB / 401.9 MB, free: 2.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.5444, allocations: 12.03 kB / 401.9 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003351/0.5478, allocations: 298.8 kB / 402.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.5492, allocations: 0.5161 MB / 402.7 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.883e-05/0.5493, allocations: 57.25 kB / 402.7 MB, free: 1.406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.5494, allocations: 55.95 kB / 402.8 MB, free: 1.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003833/0.5533, allocations: 0.9829 MB / 403.8 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.5534, allocations: 7.922 kB / 403.8 MB, free: 308 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.5535, allocations: 27.98 kB / 403.8 MB, free: 280 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/0.5535, allocations: 21 kB / 403.8 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004255/0.5578, allocations: 0.9208 MB / 404.8 MB, free: 15.33 MB / 346.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.007359/0.5652, allocations: 4.487 MB / 409.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004066/0.5693, allocations: 0.7966 MB / 410 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5803/1.15, allocations: 83.85 MB / 493.9 MB, free: 128.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/1.15, allocations: 38.47 kB / 493.9 MB, free: 128.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 2.816e-06/1.15, allocations: 1.406 kB / 493.9 MB, free: 128.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.01036/1.16, allocations: 2.282 MB / 496.2 MB, free: 127.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/1.16, allocations: 112.2 kB / 496.3 MB, free: 127.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00077/1.161, allocations: 436.2 kB / 496.7 MB, free: 127.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.872e-05/1.161, allocations: 35.98 kB / 496.8 MB, free: 127.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/1.161, allocations: 333.9 kB / 497.1 MB, free: 126.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/1.161, allocations: 184.9 kB / 497.3 MB, free: 126.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/1.162, allocations: 10.22 kB / 497.3 MB, free: 126.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/1.162, allocations: 372 kB / 497.7 MB, free: 126.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/1.163, allocations: 278.8 kB / 497.9 MB, free: 126.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/1.164, allocations: 475.2 kB / 498.4 MB, free: 125.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/1.165, allocations: 329.8 kB / 498.7 MB, free: 125.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.165, allocations: 2.406 kB / 498.7 MB, free: 125.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003988/1.169, allocations: 1.001 MB / 499.7 MB, free: 125.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004764/1.17, allocations: 2.177 MB / 0.4901 GB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/1.17, allocations: 5.25 kB / 0.4901 GB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003272/1.173, allocations: 422.2 kB / 0.4905 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009951/1.174, allocations: 148 kB / 0.4907 GB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/1.176, allocations: 0.9162 MB / 0.4916 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/1.178, allocations: 92.05 kB / 0.4917 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/1.178, allocations: 39.64 kB / 0.4917 GB, free: 121.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.178, allocations: 4.219 kB / 0.4917 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004278/1.182, allocations: 0.9662 MB / 0.4927 GB, free: 121.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/1.182, allocations: 6.781 kB / 0.4927 GB, free: 121.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/1.185, allocations: 346.4 kB / 0.493 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009652/1.186, allocations: 149.3 kB / 0.4931 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/1.188, allocations: 0.8865 MB / 0.494 GB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.189, allocations: 86.17 kB / 0.4941 GB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/1.189, allocations: 36.8 kB / 0.4941 GB, free: 120.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (61): * Single equations (assignments): 60 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0004981/1.189, allocations: 218.4 kB / 0.4943 GB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/1.19, allocations: 61.69 kB / 0.4944 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005305/1.195, allocations: 2.929 MB / 0.4972 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-05/1.195, allocations: 43.92 kB / 0.4973 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.195, allocations: 3.469 kB / 0.4973 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/1.195, allocations: 7.984 kB / 0.4973 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006941/1.202, allocations: 4.07 MB / 0.5013 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.202, allocations: 0 / 0.5013 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/1.203, allocations: 171.8 kB / 0.5014 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004664/1.204, allocations: 64.8 kB / 0.5015 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.929e-05/1.204, allocations: 23.98 kB / 0.5015 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006262/1.205, allocations: 1.173 MB / 0.5027 GB, free: 112.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.205, allocations: 3.938 kB / 0.5027 GB, free: 112.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004953/1.21, allocations: 2.598 MB / 0.5052 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005511/1.21, allocations: 322.8 kB / 0.5055 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/1.21, allocations: 16.06 kB / 0.5055 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009852/1.211, allocations: 79.47 kB / 0.5056 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/1.212, allocations: 52.48 kB / 0.5057 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-05/1.212, allocations: 23.98 kB / 0.5057 GB, free: 109.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007122/1.212, allocations: 399 kB / 0.5061 GB, free: 109.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.212, allocations: 4 kB / 0.5061 GB, free: 109.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004833/1.217, allocations: 1.273 MB / 0.5073 GB, free: 107.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.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 (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007333/1.225, allocations: 1.376 MB / 0.5086 GB, free: 106.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005093/1.23, allocations: 1.556 MB / 0.5102 GB, free: 105.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.23, allocations: 448 / 0.5102 GB, free: 105.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002144/1.232, allocations: 0.887 MB / 0.511 GB, free: 104.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/1.235, allocations: 297.8 kB / 0.5113 GB, free: 104 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005575/1.24, allocations: 3.251 MB / 0.5145 GB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/1.241, allocations: 1.167 MB / 0.5156 GB, free: 99.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001924/1.243, allocations: 0.7294 MB / 0.5163 GB, free: 98.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/1.243, allocations: 63.36 kB / 0.5164 GB, free: 98.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/1.243, allocations: 0 / 0.5164 GB, free: 98.8 MB / 410.7 MB Notification: Performance of Templates: time 0.08201/1.325, allocations: 39.83 MB / 0.5553 GB, free: 59.02 MB / 410.7 MB