Running command: translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.375e-05/2.384e-05, allocations: 0 / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08771, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.1934, allocations: 69.72 MB / 369.6 MB, free: 332 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.1936, allocations: 55.98 kB / 369.6 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2597/0.4533, allocations: 0.8219 MB / 370.5 MB, free: 71.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4533, allocations: 0 / 370.5 MB, free: 71.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.447e-06/0.4534, allocations: 1.344 kB / 370.5 MB, free: 71.53 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000244/0.4536, allocations: 321 kB / 370.8 MB, free: 71.19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4537, allocations: 8.875 kB / 370.8 MB, free: 71.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.4537, allocations: 6.562 kB / 370.8 MB, free: 71.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.115e-05/0.4538, allocations: 171.4 kB / 371 MB, free: 70.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.4538, allocations: 2.672 kB / 371 MB, free: 70.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.4539, allocations: 2.5 kB / 371 MB, free: 70.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4541, allocations: 107.4 kB / 371.1 MB, free: 70.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.256e-06/0.4541, allocations: 0 / 371.1 MB, free: 70.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4541, allocations: 1.703 kB / 371.1 MB, free: 70.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.937e-06/0.4541, allocations: 1.062 kB / 371.1 MB, free: 70.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.579e-05/0.4542, allocations: 40.56 kB / 371.1 MB, free: 70.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.4544, allocations: 182.4 kB / 371.3 MB, free: 70.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.4545, allocations: 110.7 kB / 371.4 MB, free: 70.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.271e-05/0.4547, allocations: 60.3 kB / 371.5 MB, free: 70.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.4547, allocations: 1.625 kB / 371.5 MB, free: 70.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.4547, allocations: 44.41 kB / 371.5 MB, free: 70.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.967e-06/0.4547, allocations: 7.828 kB / 371.5 MB, free: 70.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004038/0.4551, allocations: 164.8 kB / 371.7 MB, free: 70.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.4552, allocations: 131.1 kB / 371.8 MB, free: 70.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.4553, allocations: 105.1 kB / 371.9 MB, free: 70.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.4553, allocations: 26.52 kB / 371.9 MB, free: 70.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.4554, allocations: 88.59 kB / 372 MB, free: 70.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.4554, allocations: 12.7 kB / 372 MB, free: 70.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-06/0.4554, allocations: 1.875 kB / 372 MB, free: 70.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.371e-05/0.4555, allocations: 317.7 kB / 372.3 MB, free: 69.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.4556, allocations: 39.67 kB / 372.4 MB, free: 69.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.4557, allocations: 59.67 kB / 372.4 MB, free: 69.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.4558, allocations: 42.28 kB / 372.5 MB, free: 69.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.031e-06/0.4558, allocations: 0.5625 kB / 372.5 MB, free: 69.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002861/0.4561, allocations: 125.2 kB / 372.6 MB, free: 69.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4562, allocations: 5.375 kB / 372.6 MB, free: 69.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4562, allocations: 2.281 kB / 372.6 MB, free: 69.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.4562, allocations: 0.8125 kB / 372.6 MB, free: 69.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.81e-05/0.4563, allocations: 9.719 kB / 372.6 MB, free: 69.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4563, allocations: 1.891 kB / 372.6 MB, free: 69.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.791e-05/0.4563, allocations: 4.156 kB / 372.6 MB, free: 69.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.4564, allocations: 8.375 kB / 372.6 MB, free: 69.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (success4,success3,success2,success1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.875e-05/0.4564, allocations: 109.7 kB / 372.7 MB, free: 69.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.4565, allocations: 8.031 kB / 372.7 MB, free: 69.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.4565, allocations: 8.219 kB / 372.8 MB, free: 69.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.13e-06/0.4565, allocations: 2.781 kB / 372.8 MB, free: 69.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4566, allocations: 1.281 kB / 372.8 MB, free: 69.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.4566, allocations: 5.984 kB / 372.8 MB, free: 69.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.4567, allocations: 159.8 kB / 372.9 MB, free: 69.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.218e-06/0.4567, allocations: 1.25 kB / 372.9 MB, free: 69.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-06/0.4567, allocations: 1.094 kB / 372.9 MB, free: 69.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.099e-06/0.4567, allocations: 6.609 kB / 372.9 MB, free: 69.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.4568, allocations: 4.062 kB / 372.9 MB, free: 69.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.366e-06/0.4568, allocations: 2 kB / 372.9 MB, free: 69.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.4568, allocations: 1.469 kB / 372.9 MB, free: 69.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.4572, allocations: 246 kB / 373.2 MB, free: 69.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.4572, allocations: 84.78 kB / 373.3 MB, free: 69.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.4573, allocations: 4.703 kB / 373.3 MB, free: 69.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.224e-05/0.4573, allocations: 2.531 kB / 373.3 MB, free: 69.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.4573, allocations: 7.484 kB / 373.3 MB, free: 69.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.4574, allocations: 8.859 kB / 373.3 MB, free: 69.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.35e-05/0.4574, allocations: 89.94 kB / 373.4 MB, free: 69.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.07e-07/0.4574, allocations: 1.188 kB / 373.4 MB, free: 69.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.4577, allocations: 19.09 kB / 373.4 MB, free: 69.08 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (success4,success3,success2,success1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003031/0.458, allocations: 127.3 kB / 373.5 MB, free: 68.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.4582, allocations: 64.44 kB / 373.6 MB, free: 68.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.483e-06/0.4582, allocations: 0.9688 kB / 373.6 MB, free: 68.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.488e-05/0.4583, allocations: 32.91 kB / 373.6 MB, free: 68.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.4585, allocations: 4.891 kB / 373.6 MB, free: 68.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.4587, allocations: 121.9 kB / 373.7 MB, free: 68.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.4589, allocations: 0.6818 MB / 374.4 MB, free: 68.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.73e-05/0.4589, allocations: 3.578 kB / 374.4 MB, free: 68.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.4589, allocations: 13.73 kB / 374.4 MB, free: 68.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.895e-06/0.4589, allocations: 0 / 374.4 MB, free: 68.18 MB / 314.7 MB Notification: Performance of Templates: time 0.003162/0.4621, allocations: 0.5704 MB / 375 MB, free: 68.11 MB / 314.7 MB