Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadModel(Modelica): time 1.727/1.727, allocations: 171.1 MB / 186.3 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.273e-05, allocations: 0 / 228.1 MB, free: 7.973 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09537/0.09544, allocations: 38.78 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.05192/0.1474, allocations: 21.93 MB / 288.8 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.3316/0.4791, allocations: 19.78 MB / 308.6 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005473/0.4798, allocations: 6.281 kB / 308.6 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.4808, allocations: 218.7 kB / 308.8 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.4819, allocations: 238.8 kB / 309.1 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01188/0.4938, allocations: 2.572 MB / 311.6 MB, free: 4.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.495, allocations: 400.5 kB / 312 MB, free: 4.523 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.4952, allocations: 48.38 kB / 312.1 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008748/0.4961, allocations: 257 kB / 312.3 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003622/0.4965, allocations: 184.8 kB / 312.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09624/0.5928, allocations: 53.53 MB / 366 MB, free: 8.734 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01131/0.6041, allocations: 220 kB / 366.2 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.6045, allocations: 75.48 kB / 366.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.6048, allocations: 52 kB / 366.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.06178/0.6666, allocations: 10.66 MB / 377 MB, free: 14.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6667, allocations: 0 / 377 MB, free: 14.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.6667, allocations: 0 / 377 MB, free: 14.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.6667, allocations: 0 / 377 MB, free: 14.23 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.008514/0.6752, allocations: 1.037 MB / 378.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.6753, allocations: 8.031 kB / 378.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000753/0.6761, allocations: 76.48 kB / 378.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.6767, allocations: 316.8 kB / 378.5 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.6767, allocations: 27.16 kB / 378.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.6768, allocations: 31.81 kB / 378.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.6781, allocations: 457.2 kB / 379 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.6782, allocations: 0 / 379 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.144e-05/0.6782, allocations: 17.94 kB / 379 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.6783, allocations: 8 kB / 379 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.6794, allocations: 390.2 kB / 379.4 MB, free: 12.16 MB / 314.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.005386/0.6848, allocations: 2.952 MB / 382.3 MB, free: 9.289 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009866/0.6858, allocations: 290.7 kB / 382.6 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003951/0.6897, allocations: 2.547 MB / 385.1 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/0.6898, allocations: 35.25 kB / 385.2 MB, free: 6.082 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.866e-06/0.6899, allocations: 0 / 385.2 MB, free: 6.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.007758/0.6976, allocations: 1.293 MB / 386.5 MB, free: 5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.6977, allocations: 62.39 kB / 386.5 MB, free: 4.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.6981, allocations: 231.1 kB / 386.8 MB, free: 4.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.6982, allocations: 32.08 kB / 386.8 MB, free: 4.703 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.6984, allocations: 247.1 kB / 387 MB, free: 4.484 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.6985, allocations: 117.4 kB / 387.1 MB, free: 4.387 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.6986, allocations: 11.25 kB / 387.2 MB, free: 4.383 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.6987, allocations: 332.9 kB / 387.5 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.6991, allocations: 111.8 kB / 387.6 MB, free: 3.988 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.6995, allocations: 221.1 kB / 387.8 MB, free: 3.773 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.6999, allocations: 148.7 kB / 388 MB, free: 3.695 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7, allocations: 0 / 388 MB, free: 3.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001302/0.7013, allocations: 438.8 kB / 388.4 MB, free: 3.398 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.7013, allocations: 8 kB / 388.4 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.7013, allocations: 4 kB / 388.4 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007844/0.7092, allocations: 240.3 kB / 388.6 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.71, allocations: 90.84 kB / 388.7 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.7121, allocations: 1.852 MB / 390.6 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/0.7127, allocations: 34.61 kB / 390.6 MB, free: 1.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.7128, allocations: 25.83 kB / 390.6 MB, free: 1.137 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003193/0.7131, allocations: 158.2 kB / 390.8 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.7132, allocations: 31.62 kB / 390.8 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.7149, allocations: 0.6971 MB / 391.5 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.7149, allocations: 15.5 kB / 391.5 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7149, allocations: 0 / 391.5 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001376/0.7163, allocations: 0.8605 MB / 392.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.7188, allocations: 1.189 MB / 393.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.7188, allocations: 0 / 393.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.7193, allocations: 70.55 kB / 393.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002712/0.722, allocations: 176.6 kB / 393.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.194e-05/0.7221, allocations: 4 kB / 393.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005483/0.7227, allocations: 0.5743 MB / 394.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7227, allocations: 0 / 394.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.7244, allocations: 0.7391 MB / 395.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.7246, allocations: 128.6 kB / 395.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-05/0.7247, allocations: 12 kB / 395.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.7251, allocations: 19.92 kB / 395.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.7252, allocations: 23.97 kB / 395.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.7252, allocations: 11.98 kB / 395.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000383/0.7256, allocations: 225.9 kB / 395.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7256, allocations: 4 kB / 395.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00618/0.7318, allocations: 0.7301 MB / 396.3 MB, free: 11.58 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.06566/0.7975, allocations: 6.394 MB / 402.7 MB, free: 5.309 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.7991, allocations: 490.1 kB / 403.2 MB, free: 4.828 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7992, allocations: 2.719 kB / 403.2 MB, free: 4.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006099/0.7998, allocations: 225.5 kB / 403.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.8016, allocations: 184.6 kB / 403.6 MB, free: 4.434 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.804, allocations: 1.101 MB / 404.7 MB, free: 3.309 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.8045, allocations: 0.8129 MB / 405.5 MB, free: 2.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.8047, allocations: 47.36 kB / 405.5 MB, free: 2.426 MB / 330.7 MB Notification: Performance of SimCode: time 3.126e-06/0.8047, allocations: 8 kB / 405.5 MB, free: 2.418 MB / 330.7 MB Notification: Performance of Templates: time 0.08095/0.8857, allocations: 30.1 MB / 435.6 MB, free: 4.289 MB / 362.7 MB