Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.114/2.114, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.234e-05, allocations: 0 / 292.8 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 50.41 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.2/11.32, allocations: 3.574 GB / 3.909 GB, free: 1.16 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/11.32, allocations: 83.95 kB / 3.91 GB, free: 1.078 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.472/16.79, allocations: 0.8845 GB / 4.794 GB, free: 19.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.465e-06/16.79, allocations: 0 / 4.794 GB, free: 19.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003542/16.79, allocations: 83.92 kB / 4.794 GB, free: 19.42 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 829 * Number of variables: 829 Notification: Performance of Generate backend data structure: time 0.02907/16.82, allocations: 5.806 MB / 4.8 GB, free: 13.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/16.82, allocations: 8.031 kB / 4.8 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002324/16.82, allocations: 467 kB / 4.8 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/16.83, allocations: 419.5 kB / 4.801 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/16.84, allocations: 2.387 MB / 4.803 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000556/16.84, allocations: 356.8 kB / 4.803 GB, free: 9.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/16.84, allocations: 304 kB / 4.804 GB, free: 9.523 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01713/16.86, allocations: 5.209 MB / 4.809 GB, free: 4.109 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001778/16.86, allocations: 11.84 kB / 4.809 GB, free: 4.098 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001577/16.86, allocations: 135.9 kB / 4.809 GB, free: 3.965 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004107/16.86, allocations: 265.9 kB / 4.809 GB, free: 3.703 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/16.88, allocations: 5.446 MB / 4.814 GB, free: 14.25 MB / 0.4948 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.4973/17.37, allocations: 20.6 MB / 4.835 GB, free: 33.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/17.38, allocations: 3.555 MB / 4.838 GB, free: 33.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007366/17.39, allocations: 2.237 MB / 4.84 GB, free: 33.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00377/17.4, allocations: 3.24 MB / 4.843 GB, free: 29.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00866/17.4, allocations: 2.609 MB / 4.846 GB, free: 29.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003101/17.41, allocations: 283.3 kB / 4.846 GB, free: 29.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=317): time 1.559e-05/17.41, allocations: 0 / 4.846 GB, free: 29.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=377): time 0.2108/17.62, allocations: 30.29 MB / 4.876 GB, free: 28.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001902/17.62, allocations: 485.7 kB / 4.876 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004308/17.62, allocations: 1.912 MB / 4.878 GB, free: 27.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001426/17.62, allocations: 96.11 kB / 4.878 GB, free: 27.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/17.63, allocations: 1.296 MB / 4.879 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002378/17.63, allocations: 1.329 MB / 4.881 GB, free: 26.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000612/17.63, allocations: 82.69 kB / 4.881 GB, free: 26.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002951/17.63, allocations: 475.6 kB / 4.881 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006583/17.64, allocations: 2.61 MB / 4.884 GB, free: 26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007925/17.64, allocations: 3.565 MB / 4.887 GB, free: 24.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008067/17.65, allocations: 3.151 MB / 4.89 GB, free: 24.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.95e-05/17.65, allocations: 10.34 kB / 4.89 GB, free: 24.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=535) (initialization): time 0.02722/17.68, allocations: 8.196 MB / 4.898 GB, free: 24.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002419/17.68, allocations: 10.26 MB / 4.908 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.312e-05/17.68, allocations: 23.91 kB / 4.908 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01239/17.69, allocations: 2.171 MB / 4.911 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008409/17.7, allocations: 0.9268 MB / 4.911 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009847/17.71, allocations: 5.957 MB / 4.917 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009155/17.72, allocations: 0.5382 MB / 4.918 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/17.72, allocations: 233.7 kB / 4.918 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/17.72, allocations: 3.562 kB / 4.918 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03153/17.76, allocations: 8.42 MB / 4.926 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/17.76, allocations: 30.83 kB / 4.926 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/17.77, allocations: 1.982 MB / 4.928 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008743/17.77, allocations: 0.9397 MB / 4.929 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008986/17.78, allocations: 5.797 MB / 4.935 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008915/17.79, allocations: 0.5232 MB / 4.935 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001912/17.79, allocations: 224.3 kB / 4.936 GB, free: 23.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 17 (traceVolume.ind,traceDuctIn.ind,traceDuctOut.ind,$whenCondition1,$PRE.numberOfPeople.nextTimeEvent,volume.regularFlow[1],volume.regularFlow[2],volume.regularFlow[3],volume.regularFlow[4],volume.inFlow[4],volume.inFlow[3],volume.inFlow[2],volume.inFlow[1],numberOfPeople.nextTimeEvent,$PRE.numberOfPeople.nextTimeEventScaled,numberOfPeople.nextTimeEventScaled,PID.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (494): * Single equations (assignments): 485 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,1 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.003052/17.8, allocations: 358.8 kB / 4.936 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001689/17.8, allocations: 315.2 kB / 4.936 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02598/17.83, allocations: 8.04 MB / 4.944 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-05/17.83, allocations: 39.19 kB / 4.944 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/17.83, allocations: 6.281 kB / 4.944 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01825/17.84, allocations: 6.013 MB / 4.95 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04793/17.89, allocations: 13.31 MB / 4.963 GB, free: 18.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.666e-05/17.89, allocations: 6.969 kB / 4.963 GB, free: 18.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007268/17.9, allocations: 0.7038 MB / 4.964 GB, free: 18.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01649/17.92, allocations: 2.569 MB / 4.966 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001509/17.92, allocations: 183.4 kB / 4.966 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008848/17.93, allocations: 5.656 MB / 4.972 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/17.93, allocations: 6.781 kB / 4.972 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.033/17.96, allocations: 10.58 MB / 4.982 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004719/17.96, allocations: 1.077 MB / 4.983 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002186/17.97, allocations: 131.6 kB / 4.983 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007992/17.97, allocations: 432.8 kB / 4.984 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00145/17.98, allocations: 259 kB / 4.984 GB, free: 9.645 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009556/17.98, allocations: 172.2 kB / 4.984 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003444/17.98, allocations: 1.443 MB / 4.986 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.72e-07/17.98, allocations: 0 / 4.986 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01806/18, allocations: 3.178 MB / 4.989 GB, free: 5.453 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 21 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1],ductOut.mCs_scaled[1,1],ductOut.mCs_scaled[2,1],ductOut.mediums[1].p,ductOut.mediums[1].Xi[1],ductOut.mediums[1].T,ductOut.mediums[2].p,ductOut.mediums[2].Xi[1],ductOut.mediums[2].T,PID.I.y,ductIn.mCs_scaled[1,1],ductIn.mCs_scaled[2,1],ductIn.mediums[1].p,ductIn.mediums[1].Xi[1],ductIn.mediums[1].T,ductIn.mediums[2].p,ductIn.mediums[2].Xi[1],ductIn.mediums[2].T) * Number of discrete variables: 3 ($whenCondition1,numberOfPeople.nextTimeEvent,numberOfPeople.nextTimeEventScaled) * Number of discrete states: 2 (numberOfPeople.nextTimeEvent,numberOfPeople.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (374): * Single equations (assignments): 362 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,2 6,2 6,2 6,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.05224/18.05, allocations: 14.67 MB / 5.003 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03527/18.09, allocations: 10.35 MB / 5.013 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/18.09, allocations: 5.031 kB / 5.013 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.4492/18.54, allocations: 3.709 MB / 5.017 GB, free: 69.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01436/18.55, allocations: 1.414 MB / 5.018 GB, free: 69.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04214/18.59, allocations: 10.36 MB / 5.028 GB, free: 67.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003876/18.6, allocations: 2.475 MB / 5.031 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01794/18.61, allocations: 2.923 MB / 5.034 GB, free: 67.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00462/18.62, allocations: 1.415 MB / 5.035 GB, free: 67.08 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/18.62, allocations: 0 / 5.035 GB, free: 67.08 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3993/19.02, allocations: 165.5 MB / 5.196 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/19.02, allocations: 244.6 kB / 5.197 GB, free: 480 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/31.02, allocations: 0 / 5.197 GB, free: 480 kB / 0.5261 GB