Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.351/2.351, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.521e-05/3.545e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3297, allocations: 58.84 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.384, allocations: 429.6 MB / 0.7928 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.385, allocations: 92 kB / 0.7929 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3837/1.768, allocations: 133.5 MB / 0.9232 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.39e-06/1.768, allocations: 0 / 0.9232 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.187e-05/1.768, allocations: 20 kB / 0.9233 GB, free: 4.863 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002219/1.771, allocations: 0.9041 MB / 0.9241 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.771, allocations: 8.031 kB / 0.9241 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005718/1.771, allocations: 95 kB / 0.9242 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/1.773, allocations: 0.5443 MB / 0.9248 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/1.773, allocations: 100.4 kB / 0.9249 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/1.773, allocations: 51.98 kB / 0.9249 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/1.774, allocations: 0.7921 MB / 0.9257 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/1.774, allocations: 3.938 kB / 0.9257 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/1.774, allocations: 24 kB / 0.9257 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.359e-05/1.775, allocations: 36.98 kB / 0.9258 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/1.776, allocations: 0.6148 MB / 0.9264 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.289/2.065, allocations: 3.661 MB / 0.9299 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/2.066, allocations: 387.6 kB / 0.9303 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004823/2.066, allocations: 195.3 kB / 0.9305 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005499/2.067, allocations: 0.7366 MB / 0.9312 GB, free: 132 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/2.067, allocations: 40.31 kB / 0.9312 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.375e-06/2.067, allocations: 0.5625 kB / 0.9312 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.004078/2.071, allocations: 1.357 MB / 0.9326 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/2.071, allocations: 141.4 kB / 0.9327 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008997/2.072, allocations: 0.4937 MB / 0.9332 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.461e-05/2.072, allocations: 36.61 kB / 0.9332 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/2.073, allocations: 352.3 kB / 0.9336 GB, free: 131 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/2.073, allocations: 163.5 kB / 0.9337 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/2.073, allocations: 14.81 kB / 0.9337 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001194/2.073, allocations: 376.8 kB / 0.9341 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/2.073, allocations: 204.7 kB / 0.9343 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005967/2.074, allocations: 0.489 MB / 0.9348 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006009/2.075, allocations: 303.1 kB / 0.935 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/2.075, allocations: 7.547 kB / 0.9351 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002111/2.077, allocations: 0.8546 MB / 0.9359 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/2.077, allocations: 12.8 kB / 0.9359 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/2.077, allocations: 12.3 kB / 0.9359 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/2.079, allocations: 277.9 kB / 0.9362 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/2.079, allocations: 121.6 kB / 0.9363 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/2.08, allocations: 0.8764 MB / 0.9371 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009345/2.081, allocations: 53.53 kB / 0.9372 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/2.081, allocations: 33.59 kB / 0.9372 GB, free: 129.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002292/2.082, allocations: 158.6 kB / 0.9374 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/2.082, allocations: 64.28 kB / 0.9374 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/2.084, allocations: 0.7596 MB / 0.9382 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/2.084, allocations: 7.562 kB / 0.9382 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/2.084, allocations: 2.953 kB / 0.9382 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.053e-06/2.084, allocations: 3.656 kB / 0.9382 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/2.086, allocations: 1.38 MB / 0.9395 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/2.087, allocations: 0 / 0.9395 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/2.088, allocations: 207.2 kB / 0.9397 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/2.088, allocations: 24.72 kB / 0.9398 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.557e-05/2.088, allocations: 19.05 kB / 0.9398 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/2.09, allocations: 2.678 MB / 0.9424 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.213e-06/2.09, allocations: 3.5 kB / 0.9424 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/2.092, allocations: 1.048 MB / 0.9434 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000486/2.093, allocations: 203.3 kB / 0.9436 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/2.093, allocations: 11.66 kB / 0.9436 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006304/2.093, allocations: 42.36 kB / 0.9437 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/2.093, allocations: 37.28 kB / 0.9437 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.098e-05/2.094, allocations: 26.98 kB / 0.9437 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006345/2.094, allocations: 399.5 kB / 0.9441 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.71e-07/2.094, allocations: 0 / 0.9441 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001273/2.095, allocations: 247.2 kB / 0.9443 GB, free: 125.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008264/2.096, allocations: 382 kB / 0.9447 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001547/2.098, allocations: 0.5641 MB / 0.9453 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.571e-06/2.098, allocations: 1.875 kB / 0.9453 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/2.099, allocations: 426.7 kB / 0.9457 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/2.101, allocations: 318.9 kB / 0.946 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/2.104, allocations: 0.9832 MB / 0.9469 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/2.104, allocations: 0.9553 MB / 0.9479 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001049/2.105, allocations: 201.9 kB / 0.9481 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/2.105, allocations: 62.25 kB / 0.9481 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.956e-06/2.105, allocations: 0 / 0.9481 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.03532/2.141, allocations: 15.26 MB / 0.963 GB, free: 123.8 MB / 0.5105 GB