Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID.I.y|ductIn.mediums.1..T|ductIn.mediums.1..Xi.1.|ductIn.mediums.1..p|ductIn.mediums.2..T|ductIn.mediums.2..Xi.1.|ductIn.mediums.2..p|ductOut.mediums.1..T|ductOut.mediums.1..Xi.1.|ductOut.mediums.1..p|ductOut.mediums.2..T|ductOut.mediums.2..Xi.1.|ductOut.mediums.2..p|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") Notification: Performance of loadModel(Modelica): time 1.81/1.81, allocations: 194.9 MB / 210.6 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.903e-05, allocations: 7.906 kB / 258.8 MB, free: 7.848 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2883, allocations: 44.49 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls): time 0.5984/0.8867, allocations: 198.9 MB / 0.4905 GB, free: 13.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03293/0.9197, allocations: 16.57 MB / 0.5067 GB, free: 9.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003014/0.9228, allocations: 86.09 kB / 0.5067 GB, free: 9.047 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003592/0.9264, allocations: 0.8984 MB / 0.5076 GB, free: 8.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01553/0.942, allocations: 3.734 MB / 0.5113 GB, free: 5.129 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01511/0.9571, allocations: 3.84 MB / 0.515 GB, free: 1.398 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008515/0.9657, allocations: 3.517 MB / 0.5184 GB, free: 13.99 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003489/0.9692, allocations: 1.524 MB / 0.5199 GB, free: 12.48 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/0.9811, allocations: 3.689 MB / 0.5235 GB, free: 9.039 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005488/0.9866, allocations: 2.061 MB / 0.5255 GB, free: 7.133 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02314/1.01, allocations: 8.171 MB / 0.5335 GB, free: 15.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00363/1.013, allocations: 400 kB / 0.5339 GB, free: 14.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003312/1.017, allocations: 1.508 MB / 0.5354 GB, free: 13.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002143/1.019, allocations: 388 kB / 0.5357 GB, free: 12.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01702/1.036, allocations: 6.728 MB / 0.5423 GB, free: 6.168 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.036, allocations: 0 / 0.5423 GB, free: 6.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.036, allocations: 0 / 0.5423 GB, free: 6.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001534/1.036, allocations: 0 / 0.5423 GB, free: 6.168 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01881/1.055, allocations: 4.401 MB / 0.5466 GB, free: 1.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.055, allocations: 12.03 kB / 0.5466 GB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/1.058, allocations: 403.6 kB / 0.547 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008805/1.067, allocations: 1.98 MB / 0.5489 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006825/1.068, allocations: 352.1 kB / 0.5493 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001586/1.069, allocations: 283.9 kB / 0.5496 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02086/1.09, allocations: 5.346 MB / 0.5548 GB, free: 9.164 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/1.09, allocations: 4 kB / 0.5548 GB, free: 9.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009027/1.091, allocations: 127.9 kB / 0.5549 GB, free: 9.035 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001104/1.092, allocations: 405.7 kB / 0.5553 GB, free: 8.637 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0212/1.114, allocations: 5.672 MB / 0.5608 GB, free: 2.953 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.05281/1.167, allocations: 21.96 MB / 0.5823 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/1.178, allocations: 3.638 MB / 0.5858 GB, free: 7.789 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004174/1.182, allocations: 3.199 MB / 0.5889 GB, free: 3.922 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007603/1.19, allocations: 2.574 MB / 0.5915 GB, free: 1.285 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00187/1.192, allocations: 276.8 kB / 0.5917 GB, free: 1.012 MB / 458.7 MB Notification: Performance of pre-optimization done (n=316): time 8.195e-06/1.192, allocations: 0 / 0.5917 GB, free: 1.012 MB / 458.7 MB Notification: Performance of matching and sorting (n=376): time 0.4612/1.653, allocations: 33.46 MB / 0.6244 GB, free: 180.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/1.653, allocations: 325.7 kB / 0.6247 GB, free: 180.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003361/1.657, allocations: 1.862 MB / 0.6265 GB, free: 178.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009838/1.658, allocations: 97.7 kB / 0.6266 GB, free: 178.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/1.659, allocations: 1.32 MB / 0.6279 GB, free: 177.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001722/1.661, allocations: 1.321 MB / 0.6292 GB, free: 175.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004942/1.661, allocations: 88 kB / 0.6293 GB, free: 175.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002357/1.661, allocations: 491.3 kB / 0.6298 GB, free: 175.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009077/1.67, allocations: 2.913 MB / 0.6326 GB, free: 172.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01012/1.681, allocations: 3.965 MB / 0.6365 GB, free: 167.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/1.691, allocations: 3.493 MB / 0.6399 GB, free: 164.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.122e-05/1.691, allocations: 8 kB / 0.6399 GB, free: 164.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.02873/1.72, allocations: 8.631 MB / 0.6483 GB, free: 155.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002259/1.722, allocations: 11.66 MB / 0.6597 GB, free: 142.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/1.722, allocations: 28 kB / 0.6597 GB, free: 142.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01613/1.738, allocations: 2.653 MB / 0.6623 GB, free: 140.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007788/1.746, allocations: 0.9477 MB / 0.6633 GB, free: 139.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/1.761, allocations: 6.698 MB / 0.6698 GB, free: 132.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007736/1.769, allocations: 0.5402 MB / 0.6703 GB, free: 131.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/1.77, allocations: 244 kB / 0.6706 GB, free: 131.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.77, allocations: 8 kB / 0.6706 GB, free: 131.7 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02663/1.797, allocations: 8.235 MB / 0.6786 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.224e-05/1.797, allocations: 28 kB / 0.6786 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01462/1.812, allocations: 2.516 MB / 0.6811 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007829/1.82, allocations: 0.9516 MB / 0.682 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/1.835, allocations: 6.55 MB / 0.6884 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007405/1.842, allocations: 0.5225 MB / 0.6889 GB, free: 112.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009/1.843, allocations: 240 kB / 0.6892 GB, free: 112.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * Number of states: 0 () * Number of discrete variables: 16 (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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (505): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 4 * 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.002873/1.846, allocations: 1.027 MB / 0.6902 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009159/1.847, allocations: 300.4 kB / 0.6904 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02628/1.873, allocations: 8.722 MB / 0.699 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.312e-05/1.873, allocations: 43.98 kB / 0.699 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/1.873, allocations: 3.953 kB / 0.699 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02117/1.895, allocations: 6.811 MB / 0.7057 GB, free: 95.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0376/1.932, allocations: 13.02 MB / 0.7184 GB, free: 82.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/1.932, allocations: 160 / 0.7184 GB, free: 82.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006222/1.938, allocations: 0.7098 MB / 0.7191 GB, free: 81.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0189/1.957, allocations: 3.018 MB / 0.722 GB, free: 78.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009221/1.958, allocations: 183.8 kB / 0.7222 GB, free: 78.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/1.972, allocations: 6.315 MB / 0.7284 GB, free: 71.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.972, allocations: 11.95 kB / 0.7284 GB, free: 71.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03168/2.003, allocations: 11 MB / 0.7391 GB, free: 60.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003262/2.007, allocations: 1.059 MB / 0.7402 GB, free: 59.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/2.008, allocations: 131.9 kB / 0.7403 GB, free: 59.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005759/2.014, allocations: 415.2 kB / 0.7407 GB, free: 59.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006473/2.014, allocations: 262.8 kB / 0.7409 GB, free: 58.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005936/2.015, allocations: 187.9 kB / 0.7411 GB, free: 58.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002494/2.017, allocations: 1.399 MB / 0.7425 GB, free: 57.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.41e-07/2.017, allocations: 0 / 0.7425 GB, free: 57.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01027/2.028, allocations: 2.95 MB / 0.7453 GB, free: 54.62 MB / 458.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 (372): * Single equations (assignments): 360 * 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,1 7,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007712/2.035, allocations: 2.124 MB / 0.7474 GB, free: 52.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03415/2.07, allocations: 11.55 MB / 0.7587 GB, free: 41.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/2.07, allocations: 6.438 kB / 0.7587 GB, free: 41.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01076/2.08, allocations: 3.484 MB / 0.7621 GB, free: 37.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01021/2.091, allocations: 1.333 MB / 0.7634 GB, free: 36.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02798/2.119, allocations: 11.51 MB / 0.7747 GB, free: 24.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/2.121, allocations: 2.467 MB / 0.7771 GB, free: 22.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01306/2.134, allocations: 2.785 MB / 0.7798 GB, free: 19.42 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00194/2.136, allocations: 331.3 kB / 0.7801 GB, free: 19.09 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/2.136, allocations: 0 / 0.7801 GB, free: 19.09 MB / 458.7 MB Notification: Performance of Templates: time 0.4933/2.63, allocations: 112 MB / 0.8895 GB, free: 111.4 MB / 458.7 MB