Running command: translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadModel(Modelica): time 2.178/2.178, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.573e-05, allocations: 0 / 292.1 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.08966, allocations: 50.41 MB / 342.5 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3918/0.4815, allocations: 75.09 MB / 417.6 MB, free: 3.062 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.4817, allocations: 60.78 kB / 417.7 MB, free: 3.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002488/0.4842, allocations: 0.8241 MB / 418.5 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.4843, allocations: 4 kB / 418.5 MB, free: 2.281 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.4843, allocations: 4 kB / 418.5 MB, free: 2.277 MB / 330.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.0003502/0.4847, allocations: 352.5 kB / 418.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.4847, allocations: 8.031 kB / 418.9 MB, free: 1.879 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.4848, allocations: 11.86 kB / 418.9 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.4849, allocations: 159.1 kB / 419 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.485, allocations: 8.797 kB / 419.1 MB, free: 1.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.485, allocations: 4 kB / 419.1 MB, free: 1.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.4852, allocations: 83.48 kB / 419.1 MB, free: 1.578 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.823e-06/0.4852, allocations: 0 / 419.1 MB, free: 1.578 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.4852, allocations: 4 kB / 419.1 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-06/0.4852, allocations: 0 / 419.1 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.784e-05/0.4853, allocations: 39.92 kB / 419.2 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.4855, allocations: 155.3 kB / 419.3 MB, free: 1.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.4856, allocations: 57.3 kB / 419.4 MB, free: 1.277 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/0.4857, allocations: 47.91 kB / 419.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.852e-06/0.4858, allocations: 7.938 kB / 419.4 MB, free: 1.223 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/0.4858, allocations: 61.69 kB / 419.5 MB, free: 1.148 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.135e-06/0.4859, allocations: 0 / 419.5 MB, free: 1.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005584/0.4864, allocations: 193.7 kB / 419.7 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.4866, allocations: 81.09 kB / 419.8 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.4868, allocations: 104.3 kB / 419.9 MB, free: 0.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.4869, allocations: 25.7 kB / 419.9 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.487, allocations: 91.56 kB / 420 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.4871, allocations: 7.938 kB / 420 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.4871, allocations: 4 kB / 420 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002739/0.4874, allocations: 314.8 kB / 420.3 MB, free: 308 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.4876, allocations: 39.28 kB / 420.3 MB, free: 272 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.4878, allocations: 35.97 kB / 420.4 MB, free: 236 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.488, allocations: 65.67 kB / 420.4 MB, free: 164 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.952e-06/0.4881, allocations: 0 / 420.4 MB, free: 164 kB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0008258/0.4889, allocations: 189.9 kB / 420.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.625e-05/0.489, allocations: 37.69 kB / 420.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.4891, allocations: 0 / 420.7 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.4891, allocations: 8 kB / 420.7 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.259e-06/0.4891, allocations: 0 / 420.7 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.63e-06/0.4892, allocations: 0 / 420.7 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.4893, allocations: 5.125 kB / 420.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.4893, allocations: 4 kB / 420.7 MB, free: 15.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (success1,success2,success3,success4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002262/0.4896, allocations: 145.8 kB / 420.8 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.4897, allocations: 3.906 kB / 420.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.4897, allocations: 8.031 kB / 420.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.343e-06/0.4897, allocations: 0 / 420.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.967e-06/0.4898, allocations: 4 kB / 420.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.4898, allocations: 0 / 420.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.4901, allocations: 165.1 kB / 421 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.4901, allocations: 0.5 kB / 421 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-06/0.4902, allocations: 0 / 421 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.002e-06/0.4902, allocations: 0 / 421 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.4902, allocations: 4.25 kB / 421 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.641e-06/0.4903, allocations: 0 / 421 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.016e-05/0.4903, allocations: 7.984 kB / 421 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009049/0.4912, allocations: 241.4 kB / 421.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.93e-05/0.4913, allocations: 85 kB / 421.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/0.4914, allocations: 0 / 421.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-05/0.4915, allocations: 4 kB / 421.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.4916, allocations: 0 / 421.3 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.4916, allocations: 11.69 kB / 421.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.4918, allocations: 87.27 kB / 421.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.357e-06/0.4918, allocations: 0 / 421.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006717/0.4925, allocations: 8 kB / 421.4 MB, free: 15.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (success1,success2,success3,success4) * Number of discrete states: 4 (success4,success3,success2,success1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006194/0.4931, allocations: 142.1 kB / 421.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.4936, allocations: 124.9 kB / 421.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.212e-06/0.4936, allocations: 0 / 421.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.4938, allocations: 97.14 kB / 421.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.4941, allocations: 12.08 kB / 421.8 MB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.4946, allocations: 111.1 kB / 421.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.4952, allocations: 0.6848 MB / 422.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.852e-06/0.4953, allocations: 0 / 422.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.4953, allocations: 7.438 kB / 422.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of SimCode: time 2.311e-06/0.4953, allocations: 0 / 422.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of Templates: time 0.00605/0.5014, allocations: 0.6261 MB / 423.2 MB, free: 13.24 MB / 346.7 MB