Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.519/2.519, allocations: 270 MB / 283.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.624e-05/4.63e-05, allocations: 8 kB / 348.5 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4278, allocations: 61.87 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.737/9.165, allocations: 2.831 GB / 3.231 GB, free: 70.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/9.165, allocations: 82.33 kB / 3.231 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.847/14.01, allocations: 0.8772 GB / 4.109 GB, free: 37.38 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.304e-06/14.01, allocations: 0 / 4.109 GB, free: 37.38 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003066/14.01, allocations: 54.83 kB / 4.109 GB, free: 37.38 MB / 0.5573 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.01742/14.03, allocations: 3.831 MB / 4.112 GB, free: 35.24 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/14.03, allocations: 10.84 kB / 4.112 GB, free: 35.24 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001283/14.03, allocations: 272.2 kB / 4.113 GB, free: 35.05 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008326/14.04, allocations: 0.783 MB / 4.113 GB, free: 34.43 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00809/14.05, allocations: 1.935 MB / 4.115 GB, free: 32.86 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003408/14.05, allocations: 173.5 kB / 4.115 GB, free: 32.7 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00106/14.05, allocations: 183.5 kB / 4.116 GB, free: 32.53 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/14.06, allocations: 3.275 MB / 4.119 GB, free: 29.73 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.361e-05/14.06, allocations: 7.938 kB / 4.119 GB, free: 29.72 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004014/14.06, allocations: 81.97 kB / 4.119 GB, free: 29.65 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002898/14.06, allocations: 153.3 kB / 4.119 GB, free: 29.52 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/14.07, allocations: 2.885 MB / 4.122 GB, free: 27.06 MB / 0.5573 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.0291/14.1, allocations: 14.22 MB / 4.136 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007117/14.11, allocations: 1.972 MB / 4.138 GB, free: 9.949 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/14.11, allocations: 0.9884 MB / 4.139 GB, free: 8.961 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5357/14.65, allocations: 24.61 MB / 4.163 GB, free: 55.24 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006908/14.65, allocations: 1.582 MB / 4.164 GB, free: 55.12 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00194/14.65, allocations: 172.9 kB / 4.164 GB, free: 55.12 MB / 0.573 GB Notification: Performance of pre-optimization done (n=146): time 9.248e-06/14.65, allocations: 0 / 4.164 GB, free: 55.12 MB / 0.573 GB Notification: Performance of matching and sorting (n=158): time 0.02889/14.68, allocations: 6.923 MB / 4.171 GB, free: 54.34 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/14.68, allocations: 256 kB / 4.171 GB, free: 54.06 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003227/14.69, allocations: 1.399 MB / 4.173 GB, free: 53.89 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005433/14.69, allocations: 57.45 kB / 4.173 GB, free: 53.86 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009911/14.69, allocations: 0.8834 MB / 4.174 GB, free: 53.59 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009626/14.69, allocations: 0.5226 MB / 4.174 GB, free: 53.33 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/14.69, allocations: 41.56 kB / 4.174 GB, free: 53.33 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001621/14.69, allocations: 374.4 kB / 4.175 GB, free: 53.03 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002614/14.69, allocations: 0.9314 MB / 4.176 GB, free: 53.03 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002975/14.7, allocations: 1.296 MB / 4.177 GB, free: 52.64 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/14.7, allocations: 1.149 MB / 4.178 GB, free: 52.55 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/14.7, allocations: 4.875 kB / 4.178 GB, free: 52.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.009245/14.71, allocations: 2.976 MB / 4.181 GB, free: 52.28 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008327/14.71, allocations: 3.843 MB / 4.185 GB, free: 48.25 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/14.71, allocations: 11.75 kB / 4.185 GB, free: 48.25 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004881/14.71, allocations: 0.5891 MB / 4.185 GB, free: 48.21 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003588/14.72, allocations: 443.1 kB / 4.186 GB, free: 48.21 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/14.72, allocations: 2.815 MB / 4.188 GB, free: 46.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003995/14.72, allocations: 234.6 kB / 4.189 GB, free: 46.13 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004709/14.73, allocations: 95.83 kB / 4.189 GB, free: 46.13 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/14.73, allocations: 5.719 kB / 4.189 GB, free: 46.13 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006881/14.73, allocations: 2.57 MB / 4.191 GB, free: 46 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/14.73, allocations: 11.58 kB / 4.191 GB, free: 45.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008976/14.73, allocations: 195.5 kB / 4.191 GB, free: 45.97 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/14.74, allocations: 457.4 kB / 4.192 GB, free: 45.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/14.74, allocations: 1.869 MB / 4.194 GB, free: 44.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/14.74, allocations: 228.3 kB / 4.194 GB, free: 44.41 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004807/14.74, allocations: 95.75 kB / 4.194 GB, free: 44.41 MB / 0.573 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.0007755/14.74, allocations: 289.1 kB / 4.194 GB, free: 44.24 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/14.74, allocations: 201.5 kB / 4.194 GB, free: 44.14 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/14.76, allocations: 7.457 MB / 4.202 GB, free: 43.51 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/14.76, allocations: 79.31 kB / 4.202 GB, free: 43.51 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/14.76, allocations: 6.344 kB / 4.202 GB, free: 43.51 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0112/14.77, allocations: 6.505 MB / 4.208 GB, free: 42.64 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/14.79, allocations: 10.4 MB / 4.218 GB, free: 42 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/14.79, allocations: 2.562 kB / 4.218 GB, free: 42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002812/14.79, allocations: 340.6 kB / 4.219 GB, free: 42 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004914/14.8, allocations: 1.586 MB / 4.22 GB, free: 41.92 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005015/14.8, allocations: 63.48 kB / 4.22 GB, free: 41.92 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003235/14.8, allocations: 3.462 MB / 4.224 GB, free: 39.83 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/14.8, allocations: 2.469 kB / 4.224 GB, free: 39.83 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/14.81, allocations: 7.074 MB / 4.231 GB, free: 39.24 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002302/14.82, allocations: 0.7342 MB / 4.231 GB, free: 38.93 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008012/14.82, allocations: 45.42 kB / 4.231 GB, free: 38.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003161/14.82, allocations: 194.5 kB / 4.231 GB, free: 38.91 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005124/14.82, allocations: 142.9 kB / 4.232 GB, free: 38.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002652/14.82, allocations: 71.17 kB / 4.232 GB, free: 38.91 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002755/14.82, allocations: 1.257 MB / 4.233 GB, free: 38.75 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.82e-07/14.82, allocations: 0.875 kB / 4.233 GB, free: 38.75 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01269/14.84, allocations: 2.736 MB / 4.236 GB, free: 38.63 MB / 0.573 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.0286/14.87, allocations: 9.911 MB / 4.245 GB, free: 37.32 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01226/14.88, allocations: 4.622 MB / 4.25 GB, free: 37.01 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/14.88, allocations: 0 / 4.25 GB, free: 37.01 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005085/14.88, allocations: 2.226 MB / 4.252 GB, free: 36.87 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008759/14.89, allocations: 0.9739 MB / 4.253 GB, free: 36.84 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02108/14.91, allocations: 6.895 MB / 4.26 GB, free: 35.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/14.92, allocations: 2.181 MB / 4.262 GB, free: 34.83 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00819/14.92, allocations: 2.405 MB / 4.264 GB, free: 34.79 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002562/14.93, allocations: 1.195 MB / 4.265 GB, free: 34.78 MB / 0.573 GB Notification: Performance of SimCode: time 1.794e-06/14.93, allocations: 0 / 4.265 GB, free: 34.78 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7378/15.66, allocations: 120.1 MB / 4.383 GB, free: 65.38 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/15.66, allocations: 237.7 kB / 4.383 GB, free: 65.07 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.169/24.83, allocations: 3.938 kB / 4.383 GB, free: 65.07 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes13_res.mat does not exist to compare? outputFormat=mat