Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.009/2.009, allocations: 209.3 MB / 223.8 MB, free: 0.8477 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.071e-05/3.078e-05, allocations: 4 kB / 276.2 MB, free: 15.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3671, allocations: 48.69 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.06035/0.4276, allocations: 33.96 MB / 358.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03402/0.4616, allocations: 16.15 MB / 375 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.4629, allocations: 35.69 kB / 375 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.4646, allocations: 390.1 kB / 375.4 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01571/0.4803, allocations: 3.591 MB / 379 MB, free: 9.281 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01137/0.4917, allocations: 2.578 MB / 381.6 MB, free: 6.699 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002834/0.4946, allocations: 0.8143 MB / 382.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007396/0.4953, allocations: 307.4 kB / 382.7 MB, free: 5.582 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.4972, allocations: 0.5765 MB / 383.3 MB, free: 5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01663/0.5138, allocations: 6.402 MB / 389.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02123/0.5351, allocations: 6.957 MB / 396.6 MB, free: 7.629 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003149/0.5383, allocations: 420 kB / 397 MB, free: 7.219 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000448/0.5388, allocations: 139.5 kB / 397.2 MB, free: 7.082 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003876/0.5392, allocations: 84 kB / 397.2 MB, free: 7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009791/0.549, allocations: 3.321 MB / 400.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5491, allocations: 0 / 400.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.5491, allocations: 0 / 400.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.318e-05/0.5491, allocations: 3.938 kB / 400.6 MB, free: 3.668 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.005372/0.5545, allocations: 1.447 MB / 402 MB, free: 2.172 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.5546, allocations: 8.031 kB / 402 MB, free: 2.164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003422/0.558, allocations: 298.8 kB / 402.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.5595, allocations: 0.5161 MB / 402.8 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/0.5596, allocations: 49.31 kB / 402.9 MB, free: 1.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.5597, allocations: 55.95 kB / 402.9 MB, free: 1.211 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004094/0.5638, allocations: 0.9904 MB / 403.9 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.5639, allocations: 7.938 kB / 403.9 MB, free: 160 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.5641, allocations: 24 kB / 404 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.145e-05/0.5641, allocations: 21.31 kB / 404 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004578/0.5687, allocations: 0.9221 MB / 404.9 MB, free: 15.18 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.007844/0.5766, allocations: 4.344 MB / 409.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/0.5804, allocations: 0.761 MB / 410 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5832/1.164, allocations: 80 MB / 490 MB, free: 131.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.164, allocations: 40 kB / 490 MB, free: 131.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 2.695e-06/1.164, allocations: 1.031 kB / 490 MB, free: 131.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.01232/1.176, allocations: 2.292 MB / 492.3 MB, free: 130.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/1.176, allocations: 116.5 kB / 492.5 MB, free: 130.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/1.177, allocations: 431.8 kB / 492.9 MB, free: 130 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.454e-05/1.177, allocations: 40.39 kB / 492.9 MB, free: 129.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/1.177, allocations: 342.8 kB / 493.2 MB, free: 129.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/1.178, allocations: 174.7 kB / 493.4 MB, free: 129.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/1.178, allocations: 15.94 kB / 493.4 MB, free: 129.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/1.178, allocations: 365.8 kB / 493.8 MB, free: 129.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/1.179, allocations: 258.3 kB / 494 MB, free: 129.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/1.18, allocations: 464.3 kB / 494.5 MB, free: 128.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/1.181, allocations: 308.9 kB / 494.8 MB, free: 128.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/1.181, allocations: 2.219 kB / 494.8 MB, free: 128.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003958/1.185, allocations: 0.9811 MB / 495.8 MB, free: 128.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005817/1.186, allocations: 2.357 MB / 498.1 MB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/1.186, allocations: 6.875 kB / 498.1 MB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003332/1.189, allocations: 431 kB / 498.6 MB, free: 125.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000975/1.19, allocations: 145.4 kB / 498.7 MB, free: 125.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/1.192, allocations: 0.9279 MB / 499.6 MB, free: 125 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/1.194, allocations: 91.03 kB / 499.7 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/1.194, allocations: 42.48 kB / 499.8 MB, free: 124.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.194, allocations: 4.062 kB / 499.8 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004279/1.198, allocations: 0.9285 MB / 0.489 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/1.198, allocations: 6.656 kB / 0.489 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002332/1.201, allocations: 314.5 kB / 0.4893 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.202, allocations: 152.9 kB / 0.4894 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/1.203, allocations: 0.8762 MB / 0.4903 GB, free: 123.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/1.205, allocations: 81.33 kB / 0.4904 GB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.205, allocations: 36.73 kB / 0.4904 GB, free: 123.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (60): * Single equations (assignments): 59 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005573/1.205, allocations: 207.4 kB / 0.4906 GB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/1.206, allocations: 56.91 kB / 0.4906 GB, free: 123.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005526/1.211, allocations: 2.746 MB / 0.4933 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.707e-05/1.211, allocations: 42.59 kB / 0.4934 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.211, allocations: 0.875 kB / 0.4934 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/1.211, allocations: 3.984 kB / 0.4934 GB, free: 121.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006527/1.218, allocations: 3.751 MB / 0.497 GB, free: 119.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.218, allocations: 1.312 kB / 0.497 GB, free: 119.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009984/1.219, allocations: 141.4 kB / 0.4972 GB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005593/1.219, allocations: 106.6 kB / 0.4973 GB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/1.22, allocations: 16.62 kB / 0.4973 GB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008892/1.22, allocations: 1.129 MB / 0.4984 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.22, allocations: 0 / 0.4984 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004575/1.225, allocations: 2.281 MB / 0.5006 GB, free: 115.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005957/1.226, allocations: 338.9 kB / 0.5009 GB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/1.226, allocations: 16 kB / 0.5009 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008771/1.227, allocations: 67.8 kB / 0.501 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/1.227, allocations: 48.48 kB / 0.5011 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/1.227, allocations: 23.98 kB / 0.5011 GB, free: 115.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007634/1.228, allocations: 459 kB / 0.5015 GB, free: 115 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.4e-07/1.228, allocations: 0 / 0.5015 GB, free: 115 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004582/1.232, allocations: 1.273 MB / 0.5028 GB, free: 113.8 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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006969/1.239, allocations: 1.379 MB / 0.5041 GB, free: 112.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004691/1.244, allocations: 1.418 MB / 0.5055 GB, free: 111.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.244, allocations: 4 kB / 0.5055 GB, free: 111.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001913/1.246, allocations: 0.7581 MB / 0.5062 GB, free: 110.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/1.249, allocations: 279.8 kB / 0.5065 GB, free: 110.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005378/1.254, allocations: 3.182 MB / 0.5096 GB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/1.255, allocations: 1.151 MB / 0.5107 GB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001828/1.257, allocations: 0.6479 MB / 0.5114 GB, free: 105.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/1.257, allocations: 55.42 kB / 0.5114 GB, free: 105.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/1.257, allocations: 0 / 0.5114 GB, free: 105.2 MB / 410.7 MB Notification: Performance of Templates: time 0.101/1.358, allocations: 39.44 MB / 0.5499 GB, free: 65.81 MB / 410.7 MB