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.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") Notification: Performance of loadModel(Modelica): time 1.623/1.623, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.208e-05, allocations: 8 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2155, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.151/8.367, allocations: 3.68 GB / 3.938 GB, free: 16.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/8.367, allocations: 80.8 kB / 3.938 GB, free: 16.64 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Examples/TraceSubstances.mo:112:17-112:29:writable] Warning: Non-array modification '0.01' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Examples/TraceSubstances.mo:122:23-122:37:writable] Warning: Non-array modification '0.01' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Examples/TraceSubstances.mo:168:23-168:37:writable] Warning: Non-array modification '0.01' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 4.691/13.06, allocations: 0.8924 GB / 4.831 GB, free: 9.945 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.362e-06/13.06, allocations: 0 / 4.831 GB, free: 9.945 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002665/13.06, allocations: 83.16 kB / 4.831 GB, free: 9.867 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: 820 * Number of variables: 820 Notification: Performance of Generate backend data structure: time 0.02052/13.08, allocations: 5.996 MB / 4.836 GB, free: 3.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/13.08, allocations: 8.031 kB / 4.836 GB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/13.08, allocations: 403.7 kB / 4.837 GB, free: 3.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007668/13.09, allocations: 2.406 MB / 4.839 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004166/13.09, allocations: 352.5 kB / 4.84 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/13.09, allocations: 311.8 kB / 4.84 GB, free: 260 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.323/13.41, allocations: 5.176 MB / 4.845 GB, free: 18.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/13.41, allocations: 12.28 kB / 4.845 GB, free: 18.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007034/13.42, allocations: 128.2 kB / 4.845 GB, free: 18.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000334/13.42, allocations: 260.2 kB / 4.845 GB, free: 18.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/13.43, allocations: 5.436 MB / 4.851 GB, free: 18.26 MB / 410.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.04221/13.47, allocations: 18.77 MB / 4.869 GB, free: 27.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008367/13.48, allocations: 3.445 MB / 4.872 GB, free: 27.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005186/13.49, allocations: 2.191 MB / 4.874 GB, free: 27.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003901/13.49, allocations: 3.221 MB / 4.878 GB, free: 24.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006157/13.5, allocations: 2.494 MB / 4.88 GB, free: 23.99 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001896/13.5, allocations: 279.8 kB / 4.88 GB, free: 23.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=314): time 9.263e-06/13.5, allocations: 0 / 4.88 GB, free: 23.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=374): time 0.2284/13.73, allocations: 30.11 MB / 4.91 GB, free: 22.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002435/13.73, allocations: 352.7 kB / 4.91 GB, free: 22.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003428/13.73, allocations: 1.826 MB / 4.912 GB, free: 21.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009845/13.73, allocations: 103.2 kB / 4.912 GB, free: 21.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/13.73, allocations: 1.306 MB / 4.913 GB, free: 21.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001764/13.73, allocations: 1.312 MB / 4.914 GB, free: 20.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000537/13.73, allocations: 85.34 kB / 4.915 GB, free: 20.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004036/13.73, allocations: 483.5 kB / 4.915 GB, free: 20.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005736/13.74, allocations: 2.572 MB / 4.917 GB, free: 20.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006395/13.75, allocations: 3.542 MB / 4.921 GB, free: 19.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006886/13.75, allocations: 3.147 MB / 4.924 GB, free: 19.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.429e-05/13.75, allocations: 7.344 kB / 4.924 GB, free: 19.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.02221/13.78, allocations: 8.219 MB / 4.932 GB, free: 18.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.005296/13.78, allocations: 11.03 MB / 4.943 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-05/13.78, allocations: 27.06 kB / 4.943 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009088/13.79, allocations: 2.14 MB / 4.945 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006376/13.8, allocations: 0.9312 MB / 4.946 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008207/13.81, allocations: 5.924 MB / 4.952 GB, free: 19.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006094/13.81, allocations: 0.532 MB / 4.952 GB, free: 19.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001352/13.81, allocations: 246.3 kB / 4.952 GB, free: 19.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/13.81, allocations: 4.062 kB / 4.952 GB, free: 19.9 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02205/13.84, allocations: 7.811 MB / 4.96 GB, free: 17.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.243e-05/13.84, allocations: 28.28 kB / 4.96 GB, free: 17.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008019/13.84, allocations: 1.987 MB / 4.962 GB, free: 17.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005904/13.85, allocations: 0.9582 MB / 4.963 GB, free: 17.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007479/13.86, allocations: 5.775 MB / 4.969 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006724/13.86, allocations: 0.526 MB / 4.969 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/13.86, allocations: 243 kB / 4.969 GB, free: 12.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 14 (traceVolume.ind,traceDuctIn.ind,traceDuctOut.ind,volume.regularFlow[1],volume.regularFlow[2],volume.regularFlow[3],volume.regularFlow[4],volume.inFlow[4],volume.inFlow[3],volume.inFlow[2],volume.inFlow[1],$whenCondition1,$PRE.NumberOfPeople.nextTimeEvent,NumberOfPeople.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (496): * Single equations (assignments): 486 * 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.001524/13.87, allocations: 365.1 kB / 4.97 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009395/13.87, allocations: 297.8 kB / 4.97 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01894/13.89, allocations: 7.848 MB / 4.978 GB, free: 8.676 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.965e-05/13.89, allocations: 39.95 kB / 4.978 GB, free: 8.637 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/13.89, allocations: 4 kB / 4.978 GB, free: 8.633 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01438/13.9, allocations: 5.927 MB / 4.983 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04023/13.94, allocations: 13.54 MB / 4.997 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.171e-05/13.94, allocations: 2.875 kB / 4.997 GB, free: 9.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00551/13.95, allocations: 0.7041 MB / 4.997 GB, free: 8.633 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01181/13.96, allocations: 2.55 MB / 5 GB, free: 6.922 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001153/13.96, allocations: 179.8 kB / 5 GB, free: 6.785 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008265/13.97, allocations: 5.615 MB / 5.005 GB, free: 1.602 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.098e-06/13.97, allocations: 0 / 5.005 GB, free: 1.602 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3366/14.3, allocations: 10.71 MB / 5.016 GB, free: 62.13 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003329/14.31, allocations: 1.056 MB / 5.017 GB, free: 62.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/14.31, allocations: 130.8 kB / 5.017 GB, free: 62.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00463/14.31, allocations: 420.7 kB / 5.018 GB, free: 62.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007774/14.31, allocations: 265 kB / 5.018 GB, free: 62.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006543/14.32, allocations: 185.6 kB / 5.018 GB, free: 62.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00269/14.32, allocations: 1.375 MB / 5.019 GB, free: 61.87 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.97e-07/14.32, allocations: 0 / 5.019 GB, free: 61.87 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01269/14.33, allocations: 3.242 MB / 5.022 GB, free: 61.87 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: 2 ($whenCondition1,NumberOfPeople.nextTimeEvent) * Number of discrete states: 1 (NumberOfPeople.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (371): * Single equations (assignments): 360 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * 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.01043/14.34, allocations: 3.274 MB / 5.026 GB, free: 61.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02372/14.36, allocations: 10.37 MB / 5.036 GB, free: 60.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/14.36, allocations: 4.562 kB / 5.036 GB, free: 60.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007578/14.37, allocations: 3.138 MB / 5.039 GB, free: 60.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008112/14.38, allocations: 1.318 MB / 5.04 GB, free: 60.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/14.4, allocations: 8.723 MB / 5.049 GB, free: 59.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/14.4, allocations: 2.471 MB / 5.051 GB, free: 58.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01946/14.42, allocations: 2.797 MB / 5.054 GB, free: 58.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003099/14.43, allocations: 315.9 kB / 5.054 GB, free: 58.88 MB / 458.7 MB Notification: Performance of SimCode: time 2.518e-06/14.43, allocations: 5.312 kB / 5.054 GB, free: 58.88 MB / 458.7 MB Notification: Performance of Templates: time 0.6083/15.04, allocations: 129 MB / 5.18 GB, free: 63.72 MB / 458.7 MB