Running command: translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|annulus_pipe.mediums.1..h|annulus_pipe.mediums.2..h|annulus_pipe.mediums.2..p|circular_pipe.mediums.1..h|circular_pipe.mediums.2..h|circular_pipe.mediums.2..p",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadModel(Modelica): time 1.809/1.809, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.626e-05/2.627e-05, allocations: 4 kB / 258.8 MB, free: 7.883 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.289, allocations: 44.51 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.07931/0.3684, allocations: 51.61 MB / 354.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04077/0.4092, allocations: 21.01 MB / 375.9 MB, free: 4.797 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.411, allocations: 63.5 kB / 376 MB, free: 4.734 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.4133, allocations: 0.6687 MB / 376.7 MB, free: 4.062 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.4236, allocations: 2.8 MB / 379.5 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02034/0.444, allocations: 5.722 MB / 385.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005225/0.4492, allocations: 2.187 MB / 387.4 MB, free: 9.324 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.4507, allocations: 0.7411 MB / 388.1 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02922/0.4799, allocations: 12.3 MB / 400.4 MB, free: 12.28 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02815/0.5081, allocations: 12.15 MB / 412.6 MB, free: 128 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02308/0.5313, allocations: 8.221 MB / 420.8 MB, free: 7.895 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003436/0.5348, allocations: 0.5117 MB / 421.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.5361, allocations: 0.5532 MB / 421.8 MB, free: 6.828 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008809/0.537, allocations: 208 kB / 422 MB, free: 6.625 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.55, allocations: 5.04 MB / 427.1 MB, free: 1.574 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.55, allocations: 7.938 kB / 427.1 MB, free: 1.566 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.55, allocations: 0 / 427.1 MB, free: 1.566 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.573e-05/0.5501, allocations: 0 / 427.1 MB, free: 1.566 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.3016/0.8518, allocations: 2.465 MB / 429.6 MB, free: 112.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.8519, allocations: 9.031 kB / 429.6 MB, free: 112.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.8629, allocations: 0.6017 MB / 430.2 MB, free: 112.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005262/0.8682, allocations: 1.145 MB / 431.3 MB, free: 111.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003976/0.8686, allocations: 141.1 kB / 431.4 MB, free: 111.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006595/0.8693, allocations: 144 kB / 431.6 MB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008789/0.8781, allocations: 2.801 MB / 434.4 MB, free: 110.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.1e-05/0.8782, allocations: 11.91 kB / 434.4 MB, free: 110.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002455/0.8785, allocations: 61.97 kB / 434.5 MB, free: 110.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002562/0.8788, allocations: 145.3 kB / 434.6 MB, free: 110.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009107/0.8879, allocations: 2.658 MB / 437.3 MB, free: 108.9 MB / 362.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.01921/0.9071, allocations: 11.94 MB / 449.2 MB, free: 98.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006795/0.914, allocations: 1.75 MB / 451 MB, free: 96.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01333/0.9273, allocations: 5.76 MB / 456.7 MB, free: 89.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.9274, allocations: 51.56 kB / 456.8 MB, free: 89.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=108): time 3.186e-06/0.9274, allocations: 0 / 456.8 MB, free: 89.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=124): time 0.03055/0.958, allocations: 7.017 MB / 463.8 MB, free: 82.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.9581, allocations: 149.4 kB / 463.9 MB, free: 82.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.9599, allocations: 1.015 MB / 464.9 MB, free: 81.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002527/0.9601, allocations: 49.7 kB / 465 MB, free: 81.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005388/0.9607, allocations: 0.7587 MB / 465.7 MB, free: 80.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004063/0.9611, allocations: 435 kB / 466.2 MB, free: 80.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.9613, allocations: 37.31 kB / 466.2 MB, free: 80.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.9614, allocations: 365.9 kB / 466.6 MB, free: 79.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/0.9641, allocations: 0.8783 MB / 467.4 MB, free: 79.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003103/0.9673, allocations: 1.335 MB / 468.8 MB, free: 77.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.052/5.019, allocations: 382.1 MB / 0.831 GB, free: 22.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/5.019, allocations: 4 kB / 0.831 GB, free: 22.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.008337/5.027, allocations: 2.712 MB / 0.8336 GB, free: 19.92 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009742/5.028, allocations: 5.321 MB / 0.8388 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/5.028, allocations: 13.17 kB / 0.8388 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002612/5.031, allocations: 0.498 MB / 0.8393 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/5.034, allocations: 396.2 kB / 0.8397 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/5.036, allocations: 2.872 MB / 0.8425 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/5.039, allocations: 209.2 kB / 0.8427 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/5.039, allocations: 79.98 kB / 0.8428 GB, free: 10.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/5.039, allocations: 7.938 kB / 0.8428 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007589/5.047, allocations: 2.517 MB / 0.8452 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/5.047, allocations: 12 kB / 0.8452 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00235/5.049, allocations: 0.5032 MB / 0.8457 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/5.052, allocations: 395.4 kB / 0.8461 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/5.054, allocations: 2.871 MB / 0.8489 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/5.057, allocations: 201.2 kB / 0.8491 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/5.057, allocations: 83.97 kB / 0.8492 GB, free: 3.367 MB / 394.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: circular_pipe.mediums[1].p = 1000000.0 annulus_pipe.mediums[1].p = 1000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 11 (boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase,annulus_pipe.state_b.phase,annulus_pipe.state_a.phase,circular_pipe.state_b.phase,circular_pipe.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 184 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001179/5.058, allocations: 0.5085 MB / 0.8497 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/5.059, allocations: 141.4 kB / 0.8498 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2578/5.316, allocations: 5.437 MB / 0.8551 GB, free: 138.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.185e-05/5.317, allocations: 57.72 kB / 0.8552 GB, free: 138.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/5.317, allocations: 3.094 kB / 0.8552 GB, free: 138.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008981/5.326, allocations: 4.982 MB / 0.86 GB, free: 136.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/5.34, allocations: 7.97 MB / 0.8678 GB, free: 130.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/5.341, allocations: 0 / 0.8678 GB, free: 130.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/5.343, allocations: 298.3 kB / 0.8681 GB, free: 130.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002858/5.346, allocations: 0.5542 MB / 0.8687 GB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/5.346, allocations: 35.98 kB / 0.8687 GB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/5.348, allocations: 2.94 MB / 0.8716 GB, free: 126.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/5.348, allocations: 0 / 0.8716 GB, free: 126.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/5.359, allocations: 5.296 MB / 0.8767 GB, free: 121.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/5.36, allocations: 0.5016 MB / 0.8772 GB, free: 120.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/5.361, allocations: 35.98 kB / 0.8773 GB, free: 120.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/5.363, allocations: 157.4 kB / 0.8774 GB, free: 120.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/5.363, allocations: 121.1 kB / 0.8775 GB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/5.363, allocations: 43.98 kB / 0.8776 GB, free: 120.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001436/5.365, allocations: 0.8122 MB / 0.8784 GB, free: 119.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/5.365, allocations: 0 / 0.8784 GB, free: 119.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006289/5.371, allocations: 1.934 MB / 0.8802 GB, free: 118 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (circular_pipe.mediums[1].h,circular_pipe.mediums[2].p,circular_pipe.mediums[2].h,annulus_pipe.mediums[1].h,annulus_pipe.mediums[2].p,annulus_pipe.mediums[2].h) * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007501/5.378, allocations: 1.643 MB / 0.8818 GB, free: 116.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01084/5.389, allocations: 3.916 MB / 0.8857 GB, free: 112.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/5.389, allocations: 3.938 kB / 0.8857 GB, free: 112.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004103/5.393, allocations: 1.721 MB / 0.8874 GB, free: 111.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005069/5.399, allocations: 0.6243 MB / 0.888 GB, free: 110.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/5.41, allocations: 6.327 MB / 0.8941 GB, free: 104.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/5.411, allocations: 1.803 MB / 0.8959 GB, free: 102.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005979/5.417, allocations: 2.054 MB / 0.8979 GB, free: 100.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/5.418, allocations: 111.4 kB / 0.898 GB, free: 100.3 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/5.418, allocations: 0 / 0.898 GB, free: 100.3 MB / 394.7 MB Notification: Performance of Templates: time 0.1222/5.54, allocations: 60.02 MB / 0.9566 GB, free: 40.21 MB / 394.7 MB