Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.NonCircularPipes,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_NonCircularPipes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.785/1.785, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.007e-05/2.998e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09067, allocations: 44.51 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.696/7.787, allocations: 2.628 GB / 2.921 GB, free: 79.04 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/7.787, allocations: 70.48 kB / 2.921 GB, free: 79.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.746/10.53, allocations: 0.5462 GB / 3.467 GB, free: 12.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.405e-06/10.53, allocations: 0 / 3.467 GB, free: 12.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002535/10.53, allocations: 43.52 kB / 3.467 GB, free: 12.49 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.01469/10.55, allocations: 2.798 MB / 3.47 GB, free: 9.652 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.235e-05/10.55, allocations: 12.03 kB / 3.47 GB, free: 9.641 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001048/10.55, allocations: 226.6 kB / 3.47 GB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007095/10.56, allocations: 0.5944 MB / 3.471 GB, free: 8.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006282/10.56, allocations: 1.46 MB / 3.472 GB, free: 7.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/10.56, allocations: 142.5 kB / 3.472 GB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006814/10.56, allocations: 143.7 kB / 3.472 GB, free: 7.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/10.57, allocations: 2.759 MB / 3.475 GB, free: 4.168 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.106e-05/10.57, allocations: 7.938 kB / 3.475 GB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003557/10.57, allocations: 76.48 kB / 3.475 GB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002805/10.57, allocations: 122.7 kB / 3.475 GB, free: 3.969 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009635/10.58, allocations: 2.46 MB / 3.478 GB, free: 1.504 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.3452/10.93, allocations: 11.95 MB / 3.489 GB, free: 22.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006304/10.94, allocations: 1.598 MB / 3.491 GB, free: 22.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/10.94, allocations: 0.7186 MB / 3.492 GB, free: 22.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01604/10.95, allocations: 5.742 MB / 3.497 GB, free: 18.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.623e-05/10.95, allocations: 51.14 kB / 3.497 GB, free: 18.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 3.447e-06/10.95, allocations: 0 / 3.497 GB, free: 18.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=124): time 0.0261/10.98, allocations: 5.885 MB / 3.503 GB, free: 17.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/10.98, allocations: 145.1 kB / 3.503 GB, free: 17.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/10.98, allocations: 1.01 MB / 3.504 GB, free: 17.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004032/10.98, allocations: 49.39 kB / 3.504 GB, free: 17.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005579/10.98, allocations: 0.7478 MB / 3.505 GB, free: 16.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006514/10.98, allocations: 437.7 kB / 3.505 GB, free: 16.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/10.98, allocations: 31.09 kB / 3.505 GB, free: 16.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/10.98, allocations: 374.5 kB / 3.506 GB, free: 16.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/10.99, allocations: 0.7649 MB / 3.506 GB, free: 16.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/10.99, allocations: 1.196 MB / 3.508 GB, free: 15.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.405/15.39, allocations: 378.2 MB / 3.877 GB, free: 76.33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/15.39, allocations: 3.938 kB / 3.877 GB, free: 76.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.006981/15.4, allocations: 2.369 MB / 3.879 GB, free: 76.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001143/15.4, allocations: 5.151 MB / 3.884 GB, free: 70.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/15.4, allocations: 13.81 kB / 3.884 GB, free: 70.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002727/15.41, allocations: 0.4938 MB / 3.885 GB, free: 70.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/15.41, allocations: 391.9 kB / 3.885 GB, free: 70.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/15.41, allocations: 2.863 MB / 3.888 GB, free: 68.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/15.41, allocations: 214.1 kB / 3.888 GB, free: 68.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/15.41, allocations: 75.77 kB / 3.888 GB, free: 68.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/15.41, allocations: 5.344 kB / 3.888 GB, free: 68.71 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006255/15.42, allocations: 2.25 MB / 3.89 GB, free: 68.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/15.42, allocations: 15.12 kB / 3.89 GB, free: 68.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/15.42, allocations: 472.3 kB / 3.891 GB, free: 68.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/15.43, allocations: 393.5 kB / 3.891 GB, free: 68.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/15.43, allocations: 2.866 MB / 3.894 GB, free: 66.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/15.43, allocations: 206.2 kB / 3.894 GB, free: 66.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/15.43, allocations: 75.97 kB / 3.894 GB, free: 66.5 MB / 474.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 (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 (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.0006127/15.43, allocations: 216.8 kB / 3.894 GB, free: 66.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000462/15.43, allocations: 139.3 kB / 3.895 GB, free: 66.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009688/15.44, allocations: 5.355 MB / 3.9 GB, free: 65.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.359e-05/15.44, allocations: 59.56 kB / 3.9 GB, free: 65.28 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/15.44, allocations: 7.625 kB / 3.9 GB, free: 65.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008506/15.45, allocations: 4.904 MB / 3.905 GB, free: 62.37 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/15.47, allocations: 7.895 MB / 3.912 GB, free: 58.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/15.47, allocations: 0 / 3.912 GB, free: 58.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/15.47, allocations: 287.6 kB / 3.913 GB, free: 58.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00318/15.47, allocations: 0.5553 MB / 3.913 GB, free: 57.81 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004012/15.47, allocations: 40.44 kB / 3.913 GB, free: 57.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/15.48, allocations: 2.939 MB / 3.916 GB, free: 55.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/15.48, allocations: 0 / 3.916 GB, free: 55.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009567/15.49, allocations: 4.979 MB / 3.921 GB, free: 52.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/15.49, allocations: 0.5156 MB / 3.921 GB, free: 52.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003656/15.49, allocations: 34.19 kB / 3.922 GB, free: 52.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/15.49, allocations: 156.1 kB / 3.922 GB, free: 52.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/15.49, allocations: 123 kB / 3.922 GB, free: 51.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/15.49, allocations: 44.19 kB / 3.922 GB, free: 51.94 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00159/15.49, allocations: 0.8042 MB / 3.923 GB, free: 51.42 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.41e-07/15.49, allocations: 4 kB / 3.923 GB, free: 51.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009879/15.5, allocations: 2.176 MB / 3.925 GB, free: 49.73 MB / 474.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.02236/15.52, allocations: 7.689 MB / 3.932 GB, free: 45.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008333/15.53, allocations: 3.457 MB / 3.936 GB, free: 43.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/15.53, allocations: 1.375 kB / 3.936 GB, free: 43.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003421/15.54, allocations: 1.6 MB / 3.937 GB, free: 42.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005625/15.54, allocations: 0.6319 MB / 3.938 GB, free: 41.99 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5839/16.13, allocations: 80.53 MB / 4.016 GB, free: 64.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/16.13, allocations: 1.78 MB / 4.018 GB, free: 64.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/16.13, allocations: 0.8739 MB / 4.019 GB, free: 64.04 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/16.13, allocations: 0 / 4.019 GB, free: 64.04 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.398/20.53, allocations: 96.55 MB / 4.113 GB, free: 52.34 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Fluid.Examples.NonCircularPipes_res.mat does not exist to compare? outputFormat=mat