Running command: translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 205.8 MB / 218.9 MB, free: 9.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.925e-05, allocations: 4 kB / 269.3 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.08295, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3247/0.4077, allocations: 73.99 MB / 390.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.4079, allocations: 64.06 kB / 391 MB, free: 14.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002431/0.4103, allocations: 0.824 MB / 391.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.93e-06/0.4104, allocations: 0 / 391.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.263e-06/0.4104, allocations: 0 / 391.8 MB, free: 13.3 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.0003212/0.4107, allocations: 354.5 kB / 392.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4107, allocations: 12.02 kB / 392.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.4108, allocations: 4 kB / 392.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.411, allocations: 167.8 kB / 392.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.411, allocations: 0 / 392.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.411, allocations: 4 kB / 392.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.4112, allocations: 84.61 kB / 392.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.917e-06/0.4112, allocations: 0 / 392.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4112, allocations: 0 / 392.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-06/0.4113, allocations: 0 / 392.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.471e-05/0.4114, allocations: 39.97 kB / 392.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.4115, allocations: 162.8 kB / 392.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.4117, allocations: 61.28 kB / 392.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.4118, allocations: 46.86 kB / 392.7 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.817e-06/0.4118, allocations: 0 / 392.7 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.073e-05/0.4119, allocations: 68.2 kB / 392.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.9e-06/0.4119, allocations: 0 / 392.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004138/0.4123, allocations: 196 kB / 393 MB, free: 11.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.4124, allocations: 81.11 kB / 393 MB, free: 11.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.4125, allocations: 104.4 kB / 393.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.4125, allocations: 25.7 kB / 393.2 MB, free: 11.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.4126, allocations: 87.55 kB / 393.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.4126, allocations: 7.906 kB / 393.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-06/0.4127, allocations: 0 / 393.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.4128, allocations: 318.8 kB / 393.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.026e-05/0.4129, allocations: 39.59 kB / 393.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/0.413, allocations: 31.98 kB / 393.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.4131, allocations: 65.66 kB / 393.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-06/0.4131, allocations: 4 kB / 393.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003498/0.4135, allocations: 189.2 kB / 393.9 MB, free: 10.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/0.4136, allocations: 33.77 kB / 393.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.178e-06/0.4136, allocations: 3.984 kB / 393.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4136, allocations: 3.953 kB / 393.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.628e-06/0.4136, allocations: 4 kB / 393.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.966e-06/0.4136, allocations: 0 / 393.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.4137, allocations: 0 / 393.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.4137, allocations: 11.25 kB / 394 MB, free: 10.93 MB / 314.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.0001129/0.4138, allocations: 130.7 kB / 394.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.4139, allocations: 12.55 kB / 394.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.4139, allocations: 8.031 kB / 394.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.743e-06/0.4139, allocations: 3.953 kB / 394.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.454e-06/0.4139, allocations: 4 kB / 394.1 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.773e-06/0.4139, allocations: 0 / 394.1 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.4141, allocations: 158.3 kB / 394.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-06/0.4141, allocations: 3.938 kB / 394.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-06/0.4141, allocations: 7.938 kB / 394.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.5e-06/0.4141, allocations: 0 / 394.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.4142, allocations: 4.25 kB / 394.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.001e-06/0.4142, allocations: 0 / 394.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.4142, allocations: 7.953 kB / 394.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.4146, allocations: 234.2 kB / 394.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.4147, allocations: 81.02 kB / 394.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.4147, allocations: 7.984 kB / 394.6 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.29e-05/0.4148, allocations: 0 / 394.6 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.4148, allocations: 4 kB / 394.6 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.4148, allocations: 7.953 kB / 394.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.461e-05/0.4149, allocations: 85.66 kB / 394.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.4149, allocations: 4.031 kB / 394.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.4152, allocations: 16.55 kB / 394.7 MB, free: 10.08 MB / 314.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.0003208/0.4155, allocations: 136.6 kB / 394.9 MB, free: 9.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.4157, allocations: 125.1 kB / 395 MB, free: 9.824 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4158, allocations: 0 / 395 MB, free: 9.824 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.4159, allocations: 99.33 kB / 395.1 MB, free: 9.723 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.416, allocations: 2.844 kB / 395.1 MB, free: 9.723 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.4163, allocations: 104.2 kB / 395.2 MB, free: 9.602 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.4166, allocations: 0.6887 MB / 395.9 MB, free: 8.887 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.793e-06/0.4167, allocations: 0 / 395.9 MB, free: 8.887 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.057e-05/0.4167, allocations: 7.438 kB / 395.9 MB, free: 8.879 MB / 314.7 MB Notification: Performance of SimCode: time 4.414e-06/0.4167, allocations: 0 / 395.9 MB, free: 8.879 MB / 314.7 MB Notification: Performance of Templates: time 0.003057/0.4197, allocations: 0.622 MB / 396.5 MB, free: 8.266 MB / 314.7 MB