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.88/1.88, allocations: 194.9 MB / 210.6 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.234e-05, allocations: 4 kB / 258.8 MB, free: 8.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3014, allocations: 44.51 MB / 303.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.0006091/0.302, allocations: 199.8 kB / 303.5 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002332/0.3023, allocations: 61.89 kB / 303.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.3023, allocations: 0 / 303.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.3024, allocations: 0 / 303.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.3024, allocations: 15.34 kB / 303.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.3026, allocations: 12.27 kB / 303.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.21e-05/0.3026, allocations: 15.27 kB / 303.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.3027, allocations: 0 / 303.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.3027, allocations: 10.06 kB / 303.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.027e-05/0.3028, allocations: 18.48 kB / 303.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.54e-05/0.3029, allocations: 7.656 kB / 303.6 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3029, allocations: 1.312 kB / 303.6 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.3029, allocations: 7.734 kB / 303.6 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.386e-05/0.303, allocations: 1.344 kB / 303.6 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.477e-05/0.303, allocations: 17.03 kB / 303.7 MB, free: 12.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3031, allocations: 0 / 303.7 MB, free: 12.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3031, allocations: 0 / 303.7 MB, free: 12.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3031, allocations: 1.031 kB / 303.7 MB, free: 12.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003922/0.3035, allocations: 340.8 kB / 304 MB, free: 12.36 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3035, allocations: 9.125 kB / 304 MB, free: 12.36 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.3036, allocations: 6.125 kB / 304 MB, free: 12.36 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.3037, allocations: 169.4 kB / 304.2 MB, free: 12.15 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3038, allocations: 1.062 kB / 304.2 MB, free: 12.15 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.3038, allocations: 2.094 kB / 304.2 MB, free: 12.15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.304, allocations: 82.48 kB / 304.3 MB, free: 12.08 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.304, allocations: 9.094 kB / 304.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.304, allocations: 0 / 304.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.304, allocations: 1.094 kB / 304.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.598e-05/0.3041, allocations: 28.33 kB / 304.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.3043, allocations: 185.9 kB / 304.5 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.3045, allocations: 100.8 kB / 304.6 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.3045, allocations: 1.031 kB / 304.6 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.3046, allocations: 32.62 kB / 304.6 MB, free: 11.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 3.506e-06/0.3046, allocations: 4 kB / 304.6 MB, free: 11.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003867/0.305, allocations: 165 kB / 304.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/0.3051, allocations: 129.6 kB / 304.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3052, allocations: 108.3 kB / 305 MB, free: 11.36 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3052, allocations: 30.83 kB / 305 MB, free: 11.32 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.3053, allocations: 85.33 kB / 305.1 MB, free: 11.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.3053, allocations: 9.469 kB / 305.1 MB, free: 11.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.3053, allocations: 5.031 kB / 305.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3055, allocations: 315.9 kB / 305.4 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.844e-05/0.3056, allocations: 29.41 kB / 305.5 MB, free: 10.9 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.3056, allocations: 51 kB / 305.5 MB, free: 10.86 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.923e-05/0.3057, allocations: 24.25 kB / 305.5 MB, free: 10.86 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3057, allocations: 4 kB / 305.6 MB, free: 10.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001985/0.3059, allocations: 105.7 kB / 305.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.306, allocations: 5.094 kB / 305.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.306, allocations: 4.969 kB / 305.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.306, allocations: 1.125 kB / 305.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.809e-05/0.306, allocations: 6.156 kB / 305.7 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3061, allocations: 2.062 kB / 305.7 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.3061, allocations: 1.094 kB / 305.7 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.3061, allocations: 7.25 kB / 305.7 MB, free: 10.79 MB / 250.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 9.697e-05/0.3062, allocations: 115 kB / 305.8 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.3063, allocations: 9.828 kB / 305.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.3063, allocations: 10.59 kB / 305.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3063, allocations: 5.109 kB / 305.8 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3063, allocations: 1.969 kB / 305.8 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3063, allocations: 0.9688 kB / 305.8 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.3065, allocations: 164 kB / 306 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3065, allocations: 1.406 kB / 306 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-06/0.3065, allocations: 1 kB / 306 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.3065, allocations: 10.25 kB / 306 MB, free: 10.44 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3065, allocations: 6.359 kB / 306 MB, free: 10.44 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.3066, allocations: 5.125 kB / 306 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3066, allocations: 1.375 kB / 306 MB, free: 10.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.3069, allocations: 204.4 kB / 306.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.3069, allocations: 79.17 kB / 306.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.3069, allocations: 1.062 kB / 306.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.949e-05/0.307, allocations: 5.328 kB / 306.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.307, allocations: 10.44 kB / 306.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.307, allocations: 3.125 kB / 306.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.872e-05/0.3071, allocations: 92.8 kB / 306.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3071, allocations: 0 / 306.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002817/0.3074, allocations: 5.219 kB / 306.4 MB, free: 10.08 MB / 250.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.0003456/0.3078, allocations: 131.8 kB / 306.5 MB, free: 9.969 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.308, allocations: 71.16 kB / 306.6 MB, free: 9.918 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.308, allocations: 4 kB / 306.6 MB, free: 9.914 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.152e-05/0.3081, allocations: 31.98 kB / 306.6 MB, free: 9.883 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.3082, allocations: 11.92 kB / 306.6 MB, free: 9.871 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.3086, allocations: 153.6 kB / 306.8 MB, free: 9.684 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3088, allocations: 0.6848 MB / 307.5 MB, free: 8.973 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.466e-05/0.3089, allocations: 4 kB / 307.5 MB, free: 8.969 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.3089, allocations: 11.44 kB / 307.5 MB, free: 8.961 MB / 250.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3089, allocations: 0 / 307.5 MB, free: 8.961 MB / 250.7 MB Notification: Performance of Templates: time 0.003542/0.3125, allocations: 0.5668 MB / 308.1 MB, free: 8.395 MB / 250.7 MB