Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.NonCircularPipes,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_NonCircularPipes",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.431/2.431, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.877e-05, allocations: 8.172 kB / 249.8 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1388, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.465/9.603, allocations: 2.627 GB / 2.915 GB, free: 99.49 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/9.604, allocations: 76.03 kB / 2.915 GB, free: 99.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.45/13.05, allocations: 0.541 GB / 3.456 GB, free: 43.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/13.05, allocations: 0 / 3.456 GB, free: 43.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000213/13.05, allocations: 51.06 kB / 3.456 GB, free: 43.18 MB / 426.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.01464/13.07, allocations: 2.797 MB / 3.458 GB, free: 41.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/13.07, allocations: 9.125 kB / 3.458 GB, free: 41.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008067/13.08, allocations: 0.6 MB / 3.459 GB, free: 41.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006564/13.08, allocations: 1.456 MB / 3.46 GB, free: 40.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/13.08, allocations: 84.06 kB / 3.46 GB, free: 40.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005424/13.08, allocations: 85.47 kB / 3.461 GB, free: 40.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006731/13.09, allocations: 1.963 MB / 3.462 GB, free: 40.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007228/13.1, allocations: 2.154 MB / 3.465 GB, free: 39.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.465e-05/13.1, allocations: 7.156 kB / 3.465 GB, free: 39.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003736/13.1, allocations: 5.625 kB / 3.465 GB, free: 39.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002979/13.1, allocations: 126.8 kB / 3.465 GB, free: 39.09 MB / 426.7 MB 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.7597/13.86, allocations: 75.61 MB / 3.539 GB, free: 28.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/13.86, allocations: 1.106 MB / 3.54 GB, free: 28.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/13.86, allocations: 0.6627 MB / 3.54 GB, free: 28.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01281/13.88, allocations: 4.334 MB / 3.545 GB, free: 25.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.274e-05/13.88, allocations: 52.09 kB / 3.545 GB, free: 25.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 4.398e-06/13.88, allocations: 0 / 3.545 GB, free: 25.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=118): time 0.02503/13.9, allocations: 4.896 MB / 3.549 GB, free: 25.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/13.9, allocations: 146.2 kB / 3.549 GB, free: 24.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/13.9, allocations: 0.8441 MB / 3.55 GB, free: 24.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000341/13.9, allocations: 30.95 kB / 3.55 GB, free: 24.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000713/13.9, allocations: 0.7749 MB / 3.551 GB, free: 24.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005681/13.91, allocations: 401.9 kB / 3.551 GB, free: 24.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/13.91, allocations: 6.078 kB / 3.551 GB, free: 24.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/13.91, allocations: 371.3 kB / 3.552 GB, free: 23.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001944/13.91, allocations: 0.7395 MB / 3.553 GB, free: 23.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/13.91, allocations: 1.167 MB / 3.554 GB, free: 23.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03643/13.95, allocations: 4.209 MB / 3.558 GB, free: 23.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/13.95, allocations: 2.688 kB / 3.558 GB, free: 23.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.02884/13.98, allocations: 4.223 MB / 3.562 GB, free: 22.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001185/13.98, allocations: 5.138 MB / 3.567 GB, free: 17.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.008e-05/13.98, allocations: 14.78 kB / 3.567 GB, free: 17.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002943/13.98, allocations: 479.7 kB / 3.567 GB, free: 17.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/13.98, allocations: 392.6 kB / 3.568 GB, free: 17.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003694/13.99, allocations: 2.913 MB / 3.571 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003811/13.99, allocations: 194.5 kB / 3.571 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003881/13.99, allocations: 77.48 kB / 3.571 GB, free: 15.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/13.99, allocations: 7.031 kB / 3.571 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0319/14.02, allocations: 3.962 MB / 3.575 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.17e-05/14.02, allocations: 11.16 kB / 3.575 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003822/14.03, allocations: 480.2 kB / 3.575 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003916/14.03, allocations: 398.4 kB / 3.576 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004194/14.04, allocations: 2.925 MB / 3.578 GB, free: 29.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003371/14.04, allocations: 176.3 kB / 3.579 GB, free: 29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003803/14.04, allocations: 80.16 kB / 3.579 GB, free: 29 MB / 442.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: 59 * Number of states: 0 () * Number of discrete variables: 11 (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,boundary.medium.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 (186): * Single equations (assignments): 182 * 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.0007028/14.04, allocations: 160.6 kB / 3.579 GB, free: 28.89 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006742/14.05, allocations: 1.771 MB / 3.581 GB, free: 28.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007417/14.05, allocations: 128.1 kB / 3.581 GB, free: 28.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/14.06, allocations: 4.697 MB / 3.585 GB, free: 28.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.732e-05/14.06, allocations: 52.62 kB / 3.585 GB, free: 28.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/14.06, allocations: 0 / 3.585 GB, free: 28.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008802/14.07, allocations: 4.33 MB / 3.59 GB, free: 27.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/14.09, allocations: 6.956 MB / 3.596 GB, free: 26.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/14.09, allocations: 0 / 3.596 GB, free: 26.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002603/14.09, allocations: 272.2 kB / 3.597 GB, free: 26.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0032/14.09, allocations: 0.5278 MB / 3.597 GB, free: 26.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003488/14.09, allocations: 19.72 kB / 3.597 GB, free: 26.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004109/14.1, allocations: 3.068 MB / 3.6 GB, free: 24.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/14.1, allocations: 0 / 3.6 GB, free: 24.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/14.11, allocations: 4.662 MB / 3.605 GB, free: 24.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/14.11, allocations: 0.4923 MB / 3.605 GB, free: 24.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005782/14.11, allocations: 17.77 kB / 3.605 GB, free: 24.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002569/14.11, allocations: 134.8 kB / 3.605 GB, free: 24.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004588/14.11, allocations: 107.3 kB / 3.605 GB, free: 24.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/14.11, allocations: 47.67 kB / 3.606 GB, free: 24.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00163/14.11, allocations: 0.6821 MB / 3.606 GB, free: 23.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.81e-07/14.11, allocations: 1.406 kB / 3.606 GB, free: 23.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01144/14.13, allocations: 2.073 MB / 3.608 GB, free: 23.82 MB / 442.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: 30 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,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 (114): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.02789/14.15, allocations: 7.45 MB / 3.615 GB, free: 22.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01035/14.16, allocations: 3.337 MB / 3.619 GB, free: 22.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/14.16, allocations: 0 / 3.619 GB, free: 22.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004636/14.17, allocations: 1.493 MB / 3.62 GB, free: 22.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006377/14.18, allocations: 0.5503 MB / 3.621 GB, free: 22.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7213/14.9, allocations: 61.48 MB / 3.681 GB, free: 55.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003849/14.9, allocations: 1.769 MB / 3.682 GB, free: 54.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009482/14.91, allocations: 2.083 MB / 3.685 GB, free: 54.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002193/14.91, allocations: 0.8137 MB / 3.685 GB, free: 54.47 MB / 442.7 MB Notification: Performance of SimCode: time 1.402e-06/14.91, allocations: 3.906 kB / 3.685 GB, free: 54.47 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2501/15.16, allocations: 78.69 MB / 3.762 GB, free: 50.79 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002699/15.16, allocations: 171.8 kB / 3.762 GB, free: 50.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.6/22.76, allocations: 4 kB / 3.762 GB, free: 50.59 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Fluid.Examples.NonCircularPipes_res.mat does not exist to compare? outputFormat=mat