Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_TraceSubstances_RoomCO2WithControls",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.356e-05/4.369e-05, allocations: 4 kB / 269.5 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 47.56 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.36/11.47, allocations: 3.633 GB / 3.943 GB, free: 80.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/11.47, allocations: 89.52 kB / 3.943 GB, free: 80.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.402/16.87, allocations: 0.9023 GB / 4.845 GB, free: 27.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.134e-06/16.87, allocations: 0 / 4.845 GB, free: 27.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003533/16.87, allocations: 79.81 kB / 4.845 GB, free: 27.26 MB / 474.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.03562/16.91, allocations: 5.998 MB / 4.851 GB, free: 24.11 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.287e-05/16.91, allocations: 11.38 kB / 4.851 GB, free: 24.11 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003646/16.91, allocations: 452.8 kB / 4.851 GB, free: 24.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00627/16.92, allocations: 417.7 kB / 4.852 GB, free: 23.86 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/16.93, allocations: 2.407 MB / 4.854 GB, free: 23.28 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005634/16.93, allocations: 363.2 kB / 4.855 GB, free: 23.15 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00209/16.93, allocations: 300.6 kB / 4.855 GB, free: 23.14 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01795/16.95, allocations: 5.233 MB / 4.86 GB, free: 22.21 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001846/16.95, allocations: 11.75 kB / 4.86 GB, free: 22.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001319/16.95, allocations: 130.7 kB / 4.86 GB, free: 22.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004305/16.95, allocations: 261.7 kB / 4.86 GB, free: 22.08 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01724/16.97, allocations: 5.468 MB / 4.866 GB, free: 18.41 MB / 474.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.05242/17.02, allocations: 20.63 MB / 4.886 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/17.04, allocations: 3.571 MB / 4.889 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006962/17.04, allocations: 2.245 MB / 4.891 GB, free: 9.754 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004519/17.05, allocations: 3.202 MB / 4.895 GB, free: 5.891 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01017/17.06, allocations: 2.61 MB / 4.897 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003381/17.06, allocations: 284.8 kB / 4.897 GB, free: 2.922 MB / 490.7 MB Notification: Performance of pre-optimization done (n=317): time 1.175e-05/17.06, allocations: 4 kB / 4.897 GB, free: 2.918 MB / 490.7 MB Notification: Performance of matching and sorting (n=377): time 0.6536/17.72, allocations: 30.32 MB / 4.927 GB, free: 43.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001847/17.72, allocations: 479.5 kB / 4.927 GB, free: 42.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004657/17.72, allocations: 1.967 MB / 4.929 GB, free: 42.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001483/17.72, allocations: 96.8 kB / 4.929 GB, free: 42.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001633/17.72, allocations: 1.315 MB / 4.931 GB, free: 41.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002573/17.73, allocations: 1.326 MB / 4.932 GB, free: 41.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006974/17.73, allocations: 87.67 kB / 4.932 GB, free: 41.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000361/17.73, allocations: 480.9 kB / 4.933 GB, free: 40.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007349/17.73, allocations: 2.613 MB / 4.935 GB, free: 40.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008817/17.74, allocations: 3.57 MB / 4.939 GB, free: 39.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00865/17.75, allocations: 3.149 MB / 4.942 GB, free: 39.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.746e-05/17.75, allocations: 6.906 kB / 4.942 GB, free: 39.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=535) (initialization): time 0.02946/17.78, allocations: 8.221 MB / 4.95 GB, free: 39.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002369/17.78, allocations: 10.28 MB / 4.96 GB, free: 28.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/17.78, allocations: 22.78 kB / 4.96 GB, free: 28.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/17.8, allocations: 2.187 MB / 4.962 GB, free: 28.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008626/17.81, allocations: 0.9325 MB / 4.963 GB, free: 28.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009534/17.81, allocations: 5.968 MB / 4.969 GB, free: 25.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009282/17.82, allocations: 0.5387 MB / 4.969 GB, free: 25.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/17.83, allocations: 246.3 kB / 4.969 GB, free: 25.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/17.83, allocations: 3.938 kB / 4.969 GB, free: 25.43 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03376/17.86, allocations: 8.437 MB / 4.978 GB, free: 25.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/17.86, allocations: 24.53 kB / 4.978 GB, free: 25.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01055/17.87, allocations: 1.993 MB / 4.98 GB, free: 25.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008525/17.88, allocations: 0.9507 MB / 4.981 GB, free: 25.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008609/17.89, allocations: 5.804 MB / 4.986 GB, free: 22.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00883/17.9, allocations: 0.5238 MB / 4.987 GB, free: 22.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/17.9, allocations: 234.5 kB / 4.987 GB, free: 22.02 MB / 490.7 MB 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.002447/17.9, allocations: 370.5 kB / 4.987 GB, free: 21.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001398/17.9, allocations: 310.3 kB / 4.988 GB, free: 21.76 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02693/17.93, allocations: 7.975 MB / 4.995 GB, free: 21.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.686e-05/17.93, allocations: 40.47 kB / 4.995 GB, free: 21.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.81e-05/17.93, allocations: 3.953 kB / 4.995 GB, free: 21.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01966/17.95, allocations: 6.04 MB / 5.001 GB, free: 21.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04752/18, allocations: 13.32 MB / 5.014 GB, free: 20.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-05/18, allocations: 0 / 5.014 GB, free: 20.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007299/18, allocations: 0.7131 MB / 5.015 GB, free: 20.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01665/18.02, allocations: 2.586 MB / 5.018 GB, free: 20.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001519/18.02, allocations: 183.1 kB / 5.018 GB, free: 20.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008382/18.03, allocations: 5.651 MB / 5.023 GB, free: 16.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/18.03, allocations: 6.922 kB / 5.023 GB, free: 16.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03435/18.07, allocations: 10.56 MB / 5.034 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004748/18.07, allocations: 1.092 MB / 5.035 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002065/18.07, allocations: 136.7 kB / 5.035 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007921/18.08, allocations: 422.1 kB / 5.035 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001451/18.08, allocations: 268.3 kB / 5.035 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001009/18.08, allocations: 186.8 kB / 5.036 GB, free: 11.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003704/18.09, allocations: 1.489 MB / 5.037 GB, free: 11.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.133e-06/18.09, allocations: 0 / 5.037 GB, free: 11.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01802/18.1, allocations: 3.279 MB / 5.04 GB, free: 10.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.04716/18.15, allocations: 14.72 MB / 5.055 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03705/18.19, allocations: 10.38 MB / 5.065 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/18.19, allocations: 8.297 kB / 5.065 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01166/18.2, allocations: 3.19 MB / 5.068 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01365/18.21, allocations: 1.415 MB / 5.069 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04594/18.26, allocations: 10.64 MB / 5.08 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004906/18.27, allocations: 2.492 MB / 5.082 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01755/18.28, allocations: 2.817 MB / 5.085 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005228/18.29, allocations: 1.449 MB / 5.086 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of SimCode: time 1.924e-06/18.29, allocations: 4 kB / 5.086 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8407/19.13, allocations: 169 MB / 5.251 GB, free: 17.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/19.13, allocations: 232.8 kB / 5.252 GB, free: 17.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/30.81, allocations: 3.938 kB / 5.252 GB, free: 17.25 MB / 0.5105 GB