Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadModel(Modelica): time 1.854/1.854, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.78e-05, allocations: 4 kB / 258.8 MB, free: 8.074 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.291, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0006618/0.2918, allocations: 243.1 kB / 303.5 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.2944, allocations: 1.73 MB / 305.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.2945, allocations: 0 / 305.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005777/0.2951, allocations: 75.44 kB / 305.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.706e-05/0.2952, allocations: 36.2 kB / 305.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.2955, allocations: 35.88 kB / 305.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.973e-05/0.2955, allocations: 30.59 kB / 305.4 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.2956, allocations: 5.094 kB / 305.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/0.2957, allocations: 27.31 kB / 305.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.2958, allocations: 16.38 kB / 305.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.165e-05/0.2959, allocations: 15.55 kB / 305.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.2959, allocations: 6.188 kB / 305.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.296, allocations: 51.34 kB / 305.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.2961, allocations: 3.844 kB / 305.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.2963, allocations: 91.95 kB / 305.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2963, allocations: 0 / 305.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.2963, allocations: 0 / 305.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.2963, allocations: 0 / 305.7 MB, free: 11.09 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004366/0.2968, allocations: 373 kB / 306 MB, free: 10.7 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2968, allocations: 9.438 kB / 306 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.155e-05/0.2969, allocations: 13.97 kB / 306 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.2981, allocations: 387.1 kB / 306.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2981, allocations: 3.984 kB / 306.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.2981, allocations: 1.625 kB / 306.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.2983, allocations: 82.12 kB / 306.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2983, allocations: 0 / 306.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.2983, allocations: 5.094 kB / 306.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2983, allocations: 3.984 kB / 306.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.233e-05/0.2984, allocations: 2.188 kB / 306.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.2989, allocations: 234.5 kB / 306.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.983e-05/0.299, allocations: 22.56 kB / 306.8 MB, free: 9.977 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.299, allocations: 0 / 306.8 MB, free: 9.977 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.299, allocations: 38.5 kB / 306.8 MB, free: 9.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.299, allocations: 0 / 306.8 MB, free: 9.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001871/0.2992, allocations: 53.66 kB / 306.9 MB, free: 9.871 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.2993, allocations: 132.5 kB / 307 MB, free: 9.711 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.2999, allocations: 290.9 kB / 307.3 MB, free: 9.418 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.2999, allocations: 25.7 kB / 307.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.495e-05/0.3, allocations: 112.1 kB / 307.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.3, allocations: 7.906 kB / 307.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.3, allocations: 0 / 307.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3002, allocations: 327 kB / 307.7 MB, free: 8.938 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.3002, allocations: 4 kB / 307.7 MB, free: 8.934 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.589e-05/0.3003, allocations: 49.08 kB / 307.8 MB, free: 8.867 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.541e-05/0.3004, allocations: 11.98 kB / 307.8 MB, free: 8.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3004, allocations: 4.016 kB / 307.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000128/0.3005, allocations: 53.52 kB / 307.9 MB, free: 8.793 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3005, allocations: 8 kB / 307.9 MB, free: 8.785 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3006, allocations: 3.938 kB / 307.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3006, allocations: 0 / 307.9 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.168e-05/0.3006, allocations: 3.938 kB / 307.9 MB, free: 8.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3007, allocations: 4 kB / 307.9 MB, free: 8.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.3009, allocations: 15.92 kB / 307.9 MB, free: 8.758 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.3009, allocations: 4 kB / 307.9 MB, free: 8.754 MB / 250.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001374/0.301, allocations: 129.9 kB / 308 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.3011, allocations: 19.77 kB / 308 MB, free: 8.598 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.3011, allocations: 20.55 kB / 308.1 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3011, allocations: 0 / 308.1 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3012, allocations: 0 / 308.1 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3012, allocations: 0 / 308.1 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.3015, allocations: 197.6 kB / 308.3 MB, free: 8.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.3015, allocations: 4 kB / 308.3 MB, free: 8.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.3015, allocations: 3.953 kB / 308.3 MB, free: 8.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3016, allocations: 0 / 308.3 MB, free: 8.324 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.3016, allocations: 0 / 308.3 MB, free: 8.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.3016, allocations: 4 kB / 308.3 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3016, allocations: 0 / 308.3 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.3018, allocations: 88.89 kB / 308.3 MB, free: 8.215 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.3019, allocations: 109 kB / 308.5 MB, free: 8.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.302, allocations: 7.953 kB / 308.5 MB, free: 8.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3022, allocations: 4 kB / 308.5 MB, free: 8.078 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.3022, allocations: 8.031 kB / 308.5 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.3022, allocations: 8.047 kB / 308.5 MB, free: 8.062 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004007/0.3026, allocations: 240.2 kB / 308.7 MB, free: 7.828 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3026, allocations: 0 / 308.7 MB, free: 7.828 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003168/0.3029, allocations: 20 kB / 308.7 MB, free: 7.809 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0004443/0.3034, allocations: 175.2 kB / 308.9 MB, free: 7.656 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.3035, allocations: 15.98 kB / 308.9 MB, free: 7.641 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3035, allocations: 0 / 308.9 MB, free: 7.641 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.738e-05/0.3036, allocations: 4 kB / 308.9 MB, free: 7.637 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.3037, allocations: 11.94 kB / 308.9 MB, free: 7.625 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.3042, allocations: 241.9 kB / 309.2 MB, free: 7.363 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3045, allocations: 0.7165 MB / 309.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.3047, allocations: 36.86 kB / 309.9 MB, free: 6.586 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.3048, allocations: 31.42 kB / 310 MB, free: 6.555 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3048, allocations: 0 / 310 MB, free: 6.555 MB / 250.7 MB Notification: Performance of Templates: time 0.006723/0.3115, allocations: 1.783 MB / 311.7 MB, free: 4.777 MB / 250.7 MB "" Variables in the reference:time,x Variables in the result:A1[1,1],A1[1,2],A1[2,1],A1[2,2],A1[3,1],A1[3,2],A2[1,1],A2[1,2],A2[2,1],A2[2,2],A2[3,1],A2[3,2],A3[1,1],A3[1,2],A3[2,1],A3[2,2],A3[3,1],A3[3,2],A[1,1],A[1,2],A[2,1],A[2,2],A[3,1],A[3,2],dim1[1],dim1[2],dim2[1],dim2[2],dim3[1],dim3[2],dim[1],dim[2],time,x