Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.NonCircularPipes,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.777/1.777, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.124e-05, allocations: 8 kB / 219.6 MB, free: 6.953 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2879, allocations: 38.77 MB / 258.3 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.418/7.706, allocations: 2.517 GB / 2.77 GB, free: 68.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/7.706, allocations: 76.52 kB / 2.77 GB, free: 68.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.673/10.38, allocations: 0.5289 GB / 3.299 GB, free: 12.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/10.38, allocations: 0 / 3.299 GB, free: 12.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002228/10.38, allocations: 43.91 kB / 3.299 GB, free: 12.54 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: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.01366/10.39, allocations: 2.737 MB / 3.301 GB, free: 9.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/10.39, allocations: 8.031 kB / 3.301 GB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006903/10.4, allocations: 0.5872 MB / 3.302 GB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006062/10.41, allocations: 1.462 MB / 3.303 GB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/10.41, allocations: 79.97 kB / 3.304 GB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006188/10.41, allocations: 88 kB / 3.304 GB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006021/10.41, allocations: 1.966 MB / 3.306 GB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00623/10.42, allocations: 2.148 MB / 3.308 GB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.106e-05/10.42, allocations: 11.94 kB / 3.308 GB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002906/10.42, allocations: 7.953 kB / 3.308 GB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002807/10.42, allocations: 126.7 kB / 3.308 GB, free: 3.09 MB / 378.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.5959/11.02, allocations: 75.59 MB / 3.382 GB, free: 20.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/11.02, allocations: 1.11 MB / 3.383 GB, free: 20.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/11.02, allocations: 0.664 MB / 3.383 GB, free: 20.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/11.03, allocations: 4.302 MB / 3.388 GB, free: 17.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/11.03, allocations: 40.91 kB / 3.388 GB, free: 17.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=102): time 4.859e-06/11.03, allocations: 3.094 kB / 3.388 GB, free: 17.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=118): time 0.02091/11.05, allocations: 4.914 MB / 3.392 GB, free: 16.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/11.05, allocations: 143.7 kB / 3.393 GB, free: 16.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/11.05, allocations: 0.8443 MB / 3.393 GB, free: 16.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003788/11.05, allocations: 32.58 kB / 3.393 GB, free: 16.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006817/11.06, allocations: 0.7789 MB / 3.394 GB, free: 16.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006202/11.06, allocations: 395.5 kB / 3.395 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/11.06, allocations: 3.938 kB / 3.395 GB, free: 15.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002186/11.06, allocations: 367.9 kB / 3.395 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/11.06, allocations: 0.7392 MB / 3.396 GB, free: 15.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/11.06, allocations: 1.171 MB / 3.397 GB, free: 15.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02885/11.09, allocations: 4.199 MB / 3.401 GB, free: 14.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/11.09, allocations: 7.938 kB / 3.401 GB, free: 14.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.0237/11.11, allocations: 4.217 MB / 3.405 GB, free: 14.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002188/11.11, allocations: 5.136 MB / 3.41 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.332e-05/11.11, allocations: 21.53 kB / 3.41 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/11.12, allocations: 479.9 kB / 3.41 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003118/11.12, allocations: 396.5 kB / 3.411 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004097/11.12, allocations: 2.909 MB / 3.414 GB, free: 23.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003283/11.13, allocations: 198.3 kB / 3.414 GB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003124/11.13, allocations: 79.81 kB / 3.414 GB, free: 23.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/11.13, allocations: 7.188 kB / 3.414 GB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02246/11.15, allocations: 3.968 MB / 3.418 GB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.337e-05/11.15, allocations: 13.72 kB / 3.418 GB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002192/11.15, allocations: 484 kB / 3.418 GB, free: 22.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/11.16, allocations: 388.3 kB / 3.419 GB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003583/11.16, allocations: 2.91 MB / 3.421 GB, free: 20.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/11.16, allocations: 183.2 kB / 3.422 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004201/11.16, allocations: 75.02 kB / 3.422 GB, free: 20.79 MB / 426.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.0006542/11.16, allocations: 165.5 kB / 3.422 GB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005676/11.17, allocations: 1.774 MB / 3.424 GB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005822/11.17, allocations: 131.1 kB / 3.424 GB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00904/11.18, allocations: 4.701 MB / 3.428 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.945e-05/11.18, allocations: 56.84 kB / 3.428 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/11.18, allocations: 0 / 3.428 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007416/11.19, allocations: 4.321 MB / 3.433 GB, free: 19.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/11.2, allocations: 6.956 MB / 3.439 GB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/11.2, allocations: 0 / 3.439 GB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/11.2, allocations: 273.4 kB / 3.44 GB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002644/11.21, allocations: 0.5282 MB / 3.44 GB, free: 18.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003829/11.21, allocations: 16.88 kB / 3.44 GB, free: 18.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/11.21, allocations: 3.073 MB / 3.443 GB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/11.21, allocations: 3.375 kB / 3.443 GB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/11.22, allocations: 4.67 MB / 3.448 GB, free: 16.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/11.22, allocations: 490.8 kB / 3.448 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005894/11.22, allocations: 17.64 kB / 3.448 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002278/11.23, allocations: 132.9 kB / 3.448 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004022/11.23, allocations: 113.1 kB / 3.448 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/11.23, allocations: 43.67 kB / 3.449 GB, free: 15.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001472/11.23, allocations: 0.6832 MB / 3.449 GB, free: 15.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.144e-06/11.23, allocations: 0 / 3.449 GB, free: 15.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01066/11.24, allocations: 2.064 MB / 3.451 GB, free: 13.61 MB / 426.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.02394/11.26, allocations: 7.453 MB / 3.458 GB, free: 8.965 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009456/11.27, allocations: 3.334 MB / 3.462 GB, free: 7.105 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/11.27, allocations: 0 / 3.462 GB, free: 7.105 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004131/11.28, allocations: 1.493 MB / 3.463 GB, free: 6.371 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005648/11.28, allocations: 0.5497 MB / 3.464 GB, free: 6.062 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5654/11.85, allocations: 58.66 MB / 3.521 GB, free: 67.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/11.85, allocations: 1.773 MB / 3.523 GB, free: 66.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006845/11.86, allocations: 2.078 MB / 3.525 GB, free: 66.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/11.86, allocations: 0.8096 MB / 3.526 GB, free: 66.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.313e-06/11.86, allocations: 0 / 3.526 GB, free: 66.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2005/12.06, allocations: 78.5 MB / 3.602 GB, free: 39.68 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003061/12.06, allocations: 159.4 kB / 3.602 GB, free: 39.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.858/17.92, allocations: 3.938 kB / 3.602 GB, free: 39.48 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes_res.mat does not exist to compare? outputFormat=mat