Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 1.728/1.728, allocations: 171.1 MB / 186.3 MB, free: 1.328 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.591e-05, allocations: 6.188 kB / 228.1 MB, free: 7.973 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0858/0.08586, allocations: 38.76 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.04/0.1259, allocations: 20.88 MB / 287.8 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.1292, allocations: 1.486 MB / 289.2 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1293, allocations: 7.938 kB / 289.3 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.1296, allocations: 39.83 kB / 289.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.13, allocations: 107.6 kB / 289.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01555/0.1456, allocations: 3.833 MB / 293.2 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.146, allocations: 131.7 kB / 293.4 MB, free: 6.578 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.146, allocations: 4 kB / 293.4 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.1464, allocations: 127.7 kB / 293.5 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.1466, allocations: 75.81 kB / 293.6 MB, free: 6.375 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2394/0.386, allocations: 8.101 MB / 301.7 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003234/0.3893, allocations: 413.5 kB / 302.1 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.3896, allocations: 59.64 kB / 302.1 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.3897, allocations: 22.06 kB / 302.1 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008905/0.3986, allocations: 2.904 MB / 305 MB, free: 7.723 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3987, allocations: 0 / 305 MB, free: 7.723 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3987, allocations: 0 / 305 MB, free: 7.723 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.3987, allocations: 0 / 305 MB, free: 7.723 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.006444/0.4052, allocations: 1.051 MB / 306.1 MB, free: 7.059 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4052, allocations: 9.438 kB / 306.1 MB, free: 7.059 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.4055, allocations: 20.22 kB / 306.1 MB, free: 7.051 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.4058, allocations: 212.1 kB / 306.3 MB, free: 6.848 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.4058, allocations: 18.61 kB / 306.4 MB, free: 6.848 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.416e-05/0.4059, allocations: 15.25 kB / 306.4 MB, free: 6.848 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.407, allocations: 264.5 kB / 306.6 MB, free: 6.801 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.407, allocations: 1.375 kB / 306.6 MB, free: 6.801 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.4071, allocations: 10.25 kB / 306.6 MB, free: 6.801 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.4071, allocations: 9.156 kB / 306.6 MB, free: 6.801 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.4084, allocations: 281.2 kB / 306.9 MB, free: 6.801 MB / 250.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.002067/0.4105, allocations: 0.7693 MB / 307.7 MB, free: 6.328 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.4116, allocations: 320.6 kB / 308 MB, free: 6.184 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0213/0.433, allocations: 10.43 MB / 318.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.892e-05/0.4331, allocations: 35.34 kB / 318.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 5.04e-06/0.4331, allocations: 1.406 kB / 318.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.006743/0.4399, allocations: 0.6785 MB / 319.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.44, allocations: 85.23 kB / 319.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.4402, allocations: 128.8 kB / 319.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.532e-05/0.4404, allocations: 31.77 kB / 319.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.4405, allocations: 173.4 kB / 319.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.4407, allocations: 125.5 kB / 319.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.4408, allocations: 9.062 kB / 319.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.441, allocations: 323 kB / 320 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009772/0.442, allocations: 139.9 kB / 320.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.4432, allocations: 204.4 kB / 320.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.4444, allocations: 163.6 kB / 320.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.4444, allocations: 4.906 kB / 320.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002882/0.4473, allocations: 405 kB / 320.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.4474, allocations: 9.938 kB / 320.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.4475, allocations: 2.281 kB / 320.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/0.4475, allocations: 4.656 kB / 320.9 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.4488, allocations: 88.55 kB / 321 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/0.4488, allocations: 3.938 kB / 321 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/0.4497, allocations: 32.7 kB / 321 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.389e-05/0.4498, allocations: 24.48 kB / 321.1 MB, free: 10.91 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003174/0.4501, allocations: 141.1 kB / 321.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003247/0.4505, allocations: 14.38 kB / 321.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.4515, allocations: 182.3 kB / 321.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.4515, allocations: 3.594 kB / 321.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.4516, allocations: 5.281 kB / 321.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.4516, allocations: 4.312 kB / 321.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004785/0.4564, allocations: 0.9466 MB / 322.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.4565, allocations: 2.562 kB / 322.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.4576, allocations: 83.83 kB / 322.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.765e-05/0.4577, allocations: 5.656 kB / 322.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.767e-05/0.4578, allocations: 8.141 kB / 322.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.4578, allocations: 3.062 kB / 322.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.4578, allocations: 4.5 kB / 322.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/0.4616, allocations: 0.789 MB / 323.2 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/0.462, allocations: 125.6 kB / 323.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.4621, allocations: 5.938 kB / 323.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009183/0.463, allocations: 22.17 kB / 323.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.4631, allocations: 25.89 kB / 323.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-05/0.4632, allocations: 18.5 kB / 323.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001498/0.4634, allocations: 98.91 kB / 323.5 MB, free: 9.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.4634, allocations: 0 / 323.5 MB, free: 9.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.006358/0.4698, allocations: 0.9079 MB / 324.4 MB, free: 9.621 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01207/0.4819, allocations: 1.158 MB / 325.6 MB, free: 9.379 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002303/0.4843, allocations: 340.2 kB / 325.9 MB, free: 9.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.4844, allocations: 0 / 325.9 MB, free: 9.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.4855, allocations: 176.8 kB / 326.1 MB, free: 9.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.487, allocations: 93.67 kB / 326.2 MB, free: 9.367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.4904, allocations: 0.7689 MB / 327 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005209/0.491, allocations: 0.7425 MB / 327.7 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/0.4915, allocations: 44.34 kB / 327.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of SimCode: time 1.453e-06/0.4915, allocations: 0 / 327.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of Templates: time 0.08077/0.5723, allocations: 23.26 MB / 351 MB, free: 4.629 MB / 282.7 MB