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_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 1.68/1.68, allocations: 171.2 MB / 185.7 MB, free: 1.406 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.967e-05/2.942e-05, allocations: 6.188 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08038/0.08043, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03954/0.12, allocations: 20.87 MB / 287.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1233, allocations: 1.485 MB / 289.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1234, allocations: 4 kB / 289.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.1237, allocations: 35.84 kB / 289.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.1241, allocations: 111.6 kB / 289.4 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01391/0.1381, allocations: 3.833 MB / 293.3 MB, free: 6.066 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.1384, allocations: 131.7 kB / 293.4 MB, free: 5.938 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.1385, allocations: 4 kB / 293.4 MB, free: 5.934 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.1388, allocations: 127.7 kB / 293.5 MB, free: 5.809 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.1391, allocations: 87.8 kB / 293.6 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2673/0.4064, allocations: 8.092 MB / 301.7 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003256/0.4097, allocations: 413 kB / 302.1 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.41, allocations: 56.75 kB / 302.1 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.4101, allocations: 21.78 kB / 302.2 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008931/0.419, allocations: 2.899 MB / 305.1 MB, free: 8.094 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4191, allocations: 0 / 305.1 MB, free: 8.094 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.4191, allocations: 1.438 kB / 305.1 MB, free: 8.094 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.4191, allocations: 0 / 305.1 MB, free: 8.094 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.005876/0.425, allocations: 1.057 MB / 306.1 MB, free: 7.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.4251, allocations: 11.91 kB / 306.1 MB, free: 7.43 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.4253, allocations: 23.59 kB / 306.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.4256, allocations: 206.5 kB / 306.4 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.4256, allocations: 14.59 kB / 306.4 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.4257, allocations: 17.25 kB / 306.4 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.4267, allocations: 269.5 kB / 306.7 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.4268, allocations: 1.375 kB / 306.7 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.4268, allocations: 5.406 kB / 306.7 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.4269, allocations: 6 kB / 306.7 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.4281, allocations: 282.3 kB / 306.9 MB, free: 7.172 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.00197/0.4301, allocations: 0.7713 MB / 307.7 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.4312, allocations: 313.5 kB / 308 MB, free: 6.555 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02022/0.4514, allocations: 10.43 MB / 318.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.4515, allocations: 36.38 kB / 318.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 3.206e-06/0.4515, allocations: 0 / 318.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.004583/0.4561, allocations: 0.681 MB / 319.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.4562, allocations: 81.05 kB / 319.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.4564, allocations: 127.1 kB / 319.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.4564, allocations: 35.7 kB / 319.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.4565, allocations: 105.7 kB / 319.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.4567, allocations: 128.7 kB / 319.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.4567, allocations: 10.84 kB / 319.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4569, allocations: 324.5 kB / 320 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006374/0.4575, allocations: 132.4 kB / 320.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000776/0.4583, allocations: 206.6 kB / 320.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007821/0.4591, allocations: 159 kB / 320.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4591, allocations: 1.5 kB / 320.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001872/0.461, allocations: 412.2 kB / 320.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.461, allocations: 5.25 kB / 320.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4611, allocations: 3.781 kB / 320.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.4611, allocations: 3.219 kB / 320.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.462, allocations: 91.8 kB / 321 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.462, allocations: 4 kB / 321 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/0.4626, allocations: 36.53 kB / 321 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.4627, allocations: 20.53 kB / 321 MB, free: 11.34 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.0002256/0.4629, allocations: 142.1 kB / 321.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.4631, allocations: 20.7 kB / 321.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006544/0.4638, allocations: 179.5 kB / 321.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.4638, allocations: 5.312 kB / 321.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4638, allocations: 0.875 kB / 321.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.4638, allocations: 2.109 kB / 321.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.4668, allocations: 0.9452 MB / 322.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4669, allocations: 1.688 kB / 322.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007833/0.4677, allocations: 83.34 kB / 322.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.4677, allocations: 3.281 kB / 322.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.4677, allocations: 11.09 kB / 322.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.4678, allocations: 13.64 kB / 322.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.4678, allocations: 6.422 kB / 322.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.4703, allocations: 0.7833 MB / 323.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.4705, allocations: 124 kB / 323.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/0.4706, allocations: 8.406 kB / 323.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/0.4712, allocations: 25.25 kB / 323.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.4713, allocations: 22.77 kB / 323.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.4713, allocations: 21.11 kB / 323.4 MB, free: 10.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.219e-05/0.4714, allocations: 99.59 kB / 323.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.362e-06/0.4715, allocations: 0 / 323.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.004468/0.4759, allocations: 0.9078 MB / 324.4 MB, free: 10.05 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.008296/0.4843, allocations: 1.162 MB / 325.6 MB, free: 9.812 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.486, allocations: 340.6 kB / 325.9 MB, free: 9.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.486, allocations: 2.688 kB / 325.9 MB, free: 9.805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007441/0.4867, allocations: 180.7 kB / 326.1 MB, free: 9.801 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009972/0.4878, allocations: 93.52 kB / 326.2 MB, free: 9.793 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.49, allocations: 0.74 MB / 326.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.4904, allocations: 0.74 MB / 327.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0007373/0.4912, allocations: 84.53 kB / 327.7 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.4914, allocations: 37.98 kB / 327.8 MB, free: 8.656 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4914, allocations: 2.344 kB / 327.8 MB, free: 8.656 MB / 266.7 MB Notification: Performance of Templates: time 0.06712/0.5586, allocations: 28.94 MB / 356.7 MB, free: 14.48 MB / 298.7 MB