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_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.398/2.398, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.158e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1283, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.562/0.6904, allocations: 121.2 MB / 0.5196 GB, free: 14.89 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.7019, allocations: 4.628 MB / 0.5242 GB, free: 10.26 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.7031, allocations: 23.81 kB / 0.5242 GB, free: 10.24 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.7045, allocations: 270.5 kB / 0.5244 GB, free: 9.973 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.7078, allocations: 0.6424 MB / 0.5251 GB, free: 9.328 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003428/0.7112, allocations: 0.7528 MB / 0.5258 GB, free: 8.574 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.7137, allocations: 0.8365 MB / 0.5266 GB, free: 7.734 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008113/0.7146, allocations: 323.6 kB / 0.5269 GB, free: 7.418 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.7163, allocations: 0.5144 MB / 0.5274 GB, free: 6.902 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.7177, allocations: 458.8 kB / 0.5279 GB, free: 6.453 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.7198, allocations: 419.6 kB / 0.5283 GB, free: 6.043 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003718/0.7202, allocations: 36 kB / 0.5283 GB, free: 6.008 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.7206, allocations: 219.4 kB / 0.5285 GB, free: 5.793 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.7209, allocations: 76 kB / 0.5286 GB, free: 5.719 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.7227, allocations: 0.8033 MB / 0.5294 GB, free: 4.922 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7228, allocations: 0 / 0.5294 GB, free: 4.922 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.7228, allocations: 4 kB / 0.5294 GB, free: 4.918 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.814e-05/0.7228, allocations: 0 / 0.5294 GB, free: 4.918 MB / 442.7 MB 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.002632/0.7254, allocations: 0.842 MB / 0.5302 GB, free: 4.027 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.7255, allocations: 12.03 kB / 0.5302 GB, free: 4.016 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000573/0.7261, allocations: 95.05 kB / 0.5303 GB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.7274, allocations: 0.4966 MB / 0.5308 GB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.7276, allocations: 104.4 kB / 0.5309 GB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.7278, allocations: 51.89 kB / 0.5309 GB, free: 3.219 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.7299, allocations: 0.8072 MB / 0.5317 GB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.73, allocations: 0 / 0.5317 GB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.7301, allocations: 24 kB / 0.5317 GB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.834e-05/0.7302, allocations: 44.97 kB / 0.5318 GB, free: 2.273 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/0.7322, allocations: 0.6516 MB / 0.5324 GB, free: 1.621 MB / 442.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.007552/0.7398, allocations: 3.982 MB / 0.5363 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.7412, allocations: 424.2 kB / 0.5367 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00081/0.742, allocations: 0.7327 MB / 0.5374 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.742, allocations: 46.81 kB / 0.5375 GB, free: 11.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 2.765e-06/0.742, allocations: 0 / 0.5375 GB, free: 11.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.005055/0.7471, allocations: 1.535 MB / 0.539 GB, free: 10.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/0.7472, allocations: 136.5 kB / 0.5391 GB, free: 10.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009678/0.7482, allocations: 0.4944 MB / 0.5396 GB, free: 9.711 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.786e-05/0.7483, allocations: 37.64 kB / 0.5396 GB, free: 9.668 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.7487, allocations: 385.4 kB / 0.54 GB, free: 9.285 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.7489, allocations: 169.7 kB / 0.5402 GB, free: 9.117 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.7489, allocations: 16 kB / 0.5402 GB, free: 9.102 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.7491, allocations: 338.8 kB / 0.5405 GB, free: 8.762 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000638/0.7498, allocations: 213.9 kB / 0.5407 GB, free: 8.555 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000917/0.7507, allocations: 0.5084 MB / 0.5412 GB, free: 7.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008247/0.7515, allocations: 300.6 kB / 0.5415 GB, free: 7.613 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.7516, allocations: 4 kB / 0.5415 GB, free: 7.609 MB / 458.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002982/0.7546, allocations: 0.8755 MB / 0.5423 GB, free: 6.723 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.7546, allocations: 12 kB / 0.5424 GB, free: 6.711 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.7546, allocations: 8.094 kB / 0.5424 GB, free: 6.703 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002242/0.7569, allocations: 284.6 kB / 0.5426 GB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007346/0.7577, allocations: 123.8 kB / 0.5428 GB, free: 6.301 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.7593, allocations: 0.8917 MB / 0.5436 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008806/0.7602, allocations: 43.97 kB / 0.5437 GB, free: 5.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/0.7603, allocations: 36 kB / 0.5437 GB, free: 5.305 MB / 458.7 MB 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.0004969/0.7608, allocations: 249.5 kB / 0.5439 GB, free: 5.051 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.761, allocations: 67.28 kB / 0.544 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.7631, allocations: 0.776 MB / 0.5448 GB, free: 4.168 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.7631, allocations: 12 kB / 0.5448 GB, free: 4.156 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.7631, allocations: 0 / 0.5448 GB, free: 4.156 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.7631, allocations: 3.984 kB / 0.5448 GB, free: 4.152 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/0.7664, allocations: 1.407 MB / 0.5461 GB, free: 2.648 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7664, allocations: 0 / 0.5461 GB, free: 2.648 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/0.7684, allocations: 208 kB / 0.5463 GB, free: 2.445 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/0.7686, allocations: 24.75 kB / 0.5464 GB, free: 2.418 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.7686, allocations: 15.98 kB / 0.5464 GB, free: 2.402 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/0.7715, allocations: 2.684 MB / 0.549 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.7715, allocations: 4.031 kB / 0.549 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.774, allocations: 1.072 MB / 0.5501 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/0.7746, allocations: 224.1 kB / 0.5503 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.7747, allocations: 12 kB / 0.5503 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007624/0.7755, allocations: 23.98 kB / 0.5503 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.7757, allocations: 47.81 kB / 0.5504 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.38e-05/0.7757, allocations: 31.97 kB / 0.5504 GB, free: 13.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008116/0.7766, allocations: 399.1 kB / 0.5508 GB, free: 13.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7766, allocations: 4 kB / 0.5508 GB, free: 13.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001164/0.7778, allocations: 223.9 kB / 0.551 GB, free: 13.32 MB / 474.7 MB 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.0007114/0.7785, allocations: 251.5 kB / 0.5512 GB, free: 13.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.7805, allocations: 0.6026 MB / 0.5518 GB, free: 12.47 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7805, allocations: 0.5 kB / 0.5518 GB, free: 12.47 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.7821, allocations: 438.5 kB / 0.5522 GB, free: 12.03 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.7848, allocations: 318.6 kB / 0.5525 GB, free: 11.72 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/0.7884, allocations: 1.656 MB / 0.5541 GB, free: 10.01 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.7891, allocations: 0.9501 MB / 0.5551 GB, free: 9.035 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.7894, allocations: 71.36 kB / 0.5551 GB, free: 8.965 MB / 474.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7895, allocations: 0 / 0.5551 GB, free: 8.965 MB / 474.7 MB Notification: Performance of Templates: time 0.03279/0.8223, allocations: 15.18 MB / 0.57 GB, free: 9.852 MB / 490.7 MB