Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.603/2.603, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.861e-05/3.876e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4162, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.425/8.841, allocations: 2.826 GB / 3.199 GB, free: 96.96 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/8.842, allocations: 75.22 kB / 3.199 GB, free: 96.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.756/13.6, allocations: 0.8678 GB / 4.067 GB, free: 20.96 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.244e-06/13.6, allocations: 0 / 4.067 GB, free: 20.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003611/13.6, allocations: 63.84 kB / 4.067 GB, free: 20.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.01841/13.62, allocations: 3.821 MB / 4.071 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/13.62, allocations: 11.97 kB / 4.071 GB, free: 17.02 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001455/13.62, allocations: 280.3 kB / 4.071 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008753/13.63, allocations: 0.784 MB / 4.072 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008838/13.64, allocations: 1.938 MB / 4.074 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/13.64, allocations: 169.1 kB / 4.074 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/13.64, allocations: 180.8 kB / 4.074 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/13.65, allocations: 3.273 MB / 4.077 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-05/13.65, allocations: 7.938 kB / 4.077 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004725/13.65, allocations: 88.58 kB / 4.077 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003196/13.65, allocations: 139.3 kB / 4.078 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01082/13.66, allocations: 2.891 MB / 4.08 GB, free: 7.16 MB / 0.5261 GB 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.03489/13.7, allocations: 14.23 MB / 4.094 GB, free: 7.84 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007728/13.71, allocations: 1.97 MB / 4.096 GB, free: 5.867 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00302/13.71, allocations: 0.9845 MB / 4.097 GB, free: 4.883 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5559/14.26, allocations: 24.61 MB / 4.121 GB, free: 32.14 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005965/14.27, allocations: 1.58 MB / 4.123 GB, free: 32.02 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002221/14.27, allocations: 168.2 kB / 4.123 GB, free: 32.02 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=146): time 1.255e-05/14.27, allocations: 1.875 kB / 4.123 GB, free: 32.02 MB / 0.5418 GB Notification: Performance of matching and sorting (n=158): time 0.03051/14.3, allocations: 6.912 MB / 4.13 GB, free: 31.24 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/14.3, allocations: 253.3 kB / 4.13 GB, free: 30.96 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003527/14.31, allocations: 1.399 MB / 4.131 GB, free: 30.79 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0005523/14.31, allocations: 53.42 kB / 4.131 GB, free: 30.76 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/14.31, allocations: 0.8924 MB / 4.132 GB, free: 30.49 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/14.31, allocations: 0.5237 MB / 4.133 GB, free: 30.23 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/14.31, allocations: 42.5 kB / 4.133 GB, free: 30.23 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001927/14.31, allocations: 375.1 kB / 4.133 GB, free: 29.92 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002709/14.31, allocations: 0.9294 MB / 4.134 GB, free: 29.92 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003205/14.32, allocations: 1.296 MB / 4.135 GB, free: 29.53 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003179/14.32, allocations: 1.154 MB / 4.136 GB, free: 29.45 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/14.32, allocations: 1.406 kB / 4.136 GB, free: 29.45 MB / 0.5418 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.01015/14.33, allocations: 2.968 MB / 4.139 GB, free: 29.18 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009054/14.33, allocations: 3.849 MB / 4.143 GB, free: 25.14 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/14.33, allocations: 9.938 kB / 4.143 GB, free: 25.14 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005119/14.34, allocations: 0.59 MB / 4.144 GB, free: 25.11 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003855/14.34, allocations: 433.5 kB / 4.144 GB, free: 25.11 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/14.34, allocations: 2.822 MB / 4.147 GB, free: 23.04 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004238/14.35, allocations: 233.7 kB / 4.147 GB, free: 23.03 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007704/14.35, allocations: 96.33 kB / 4.147 GB, free: 23.03 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/14.35, allocations: 10.45 kB / 4.147 GB, free: 23.02 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007915/14.36, allocations: 2.574 MB / 4.15 GB, free: 22.89 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/14.36, allocations: 11.06 kB / 4.15 GB, free: 22.89 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009266/14.36, allocations: 199.3 kB / 4.15 GB, free: 22.87 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003962/14.36, allocations: 448 kB / 4.15 GB, free: 22.87 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/14.36, allocations: 1.871 MB / 4.152 GB, free: 21.31 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004117/14.37, allocations: 231.8 kB / 4.152 GB, free: 21.3 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006674/14.37, allocations: 90.48 kB / 4.152 GB, free: 21.3 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 29 (pipe3.state_a.phase,pipe2.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.state_a.phase,pipe1.state_a.phase,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled,pipe3.state_b.phase,pipe2.state_b.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (201): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 2 * 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 {1 1,1 1,1 1,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009/14.37, allocations: 284.3 kB / 4.153 GB, free: 21.13 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006751/14.37, allocations: 197.3 kB / 4.153 GB, free: 21.03 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01509/14.38, allocations: 7.454 MB / 4.16 GB, free: 20.4 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00011/14.38, allocations: 81.72 kB / 4.16 GB, free: 20.4 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/14.38, allocations: 3.938 kB / 4.16 GB, free: 20.4 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01181/14.4, allocations: 6.51 MB / 4.167 GB, free: 19.53 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02117/14.42, allocations: 10.39 MB / 4.177 GB, free: 18.89 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/14.42, allocations: 2.906 kB / 4.177 GB, free: 18.89 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00303/14.42, allocations: 336.5 kB / 4.177 GB, free: 18.89 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005222/14.43, allocations: 1.586 MB / 4.179 GB, free: 18.82 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005411/14.43, allocations: 61.44 kB / 4.179 GB, free: 18.82 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/14.43, allocations: 3.476 MB / 4.182 GB, free: 16.72 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/14.43, allocations: 3.953 kB / 4.182 GB, free: 16.71 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/14.44, allocations: 7.059 MB / 4.189 GB, free: 16.13 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/14.45, allocations: 0.7399 MB / 4.19 GB, free: 15.82 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000938/14.45, allocations: 57.73 kB / 4.19 GB, free: 15.82 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003599/14.45, allocations: 181.7 kB / 4.19 GB, free: 15.81 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006864/14.45, allocations: 136.2 kB / 4.19 GB, free: 15.81 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002768/14.45, allocations: 66.19 kB / 4.19 GB, free: 15.81 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.003095/14.46, allocations: 1.259 MB / 4.191 GB, free: 15.65 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.242e-06/14.46, allocations: 0 / 4.191 GB, free: 15.65 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01328/14.47, allocations: 2.737 MB / 4.194 GB, free: 15.53 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 55 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse30.phase,$cse30.region,$cse32.region3boundary,$cse33.region3boundary,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.region3boundary,$cse38.region3boundary,$cse39.phase,$cse39.region,$cse41.phase,$cse41.region,$whenCondition1,$whenCondition2,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 20 * 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 {1 1,1 1,1 1,2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.03013/14.5, allocations: 9.914 MB / 4.204 GB, free: 14.21 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01331/14.51, allocations: 4.615 MB / 4.208 GB, free: 13.9 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/14.51, allocations: 2.594 kB / 4.208 GB, free: 13.9 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.005484/14.52, allocations: 2.23 MB / 4.21 GB, free: 13.77 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009067/14.53, allocations: 0.9598 MB / 4.211 GB, free: 13.74 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02518/14.55, allocations: 6.896 MB / 4.218 GB, free: 12.5 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004537/14.56, allocations: 2.189 MB / 4.22 GB, free: 11.73 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01054/14.57, allocations: 2.397 MB / 4.222 GB, free: 11.68 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002703/14.57, allocations: 1.195 MB / 4.224 GB, free: 11.67 MB / 0.5418 GB Notification: Performance of SimCode: time 2.154e-06/14.57, allocations: 0 / 4.224 GB, free: 11.67 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8334/15.4, allocations: 120.4 MB / 4.341 GB, free: 73.31 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/15.4, allocations: 237 kB / 4.341 GB, free: 73.05 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/23.84, allocations: 0 / 4.341 GB, free: 73.05 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13_res.mat does not exist to compare? outputFormat=mat