Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_trunk_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadModel(Modelica): time 2.402/2.402, allocations: 224.8 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.552e-05/2.605e-05, allocations: 0 / 294.5 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 50.41 MB / 345 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0006687/0.1097, allocations: 244.5 kB / 345.2 MB, free: 8.734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.1124, allocations: 1.704 MB / 346.9 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.1125, allocations: 0 / 346.9 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006367/0.1131, allocations: 75.84 kB / 347 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.313e-05/0.1132, allocations: 27.89 kB / 347 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.1135, allocations: 47.86 kB / 347.1 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.271e-05/0.1136, allocations: 15.92 kB / 347.1 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.1136, allocations: 0 / 347.1 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.963e-05/0.1137, allocations: 35.91 kB / 347.1 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1138, allocations: 12 kB / 347.1 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.377e-05/0.1139, allocations: 15.92 kB / 347.1 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.1139, allocations: 4 kB / 347.1 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.114, allocations: 47.89 kB / 347.2 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.1141, allocations: 4 kB / 347.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.1143, allocations: 104 kB / 347.3 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1143, allocations: 0 / 347.3 MB, free: 6.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1143, allocations: 0 / 347.3 MB, free: 6.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1143, allocations: 0 / 347.3 MB, free: 6.629 MB / 282.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.0004666/0.1148, allocations: 400.8 kB / 347.7 MB, free: 6.184 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1149, allocations: 8.031 kB / 347.7 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.1149, allocations: 15.86 kB / 347.7 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008546/0.1158, allocations: 343.7 kB / 348 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1158, allocations: 7.938 kB / 348 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.1158, allocations: 0 / 348 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.116, allocations: 73.92 kB / 348.1 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.116, allocations: 0 / 348.1 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1161, allocations: 4 kB / 348.1 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1161, allocations: 0 / 348.1 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.1161, allocations: 3.953 kB / 348.1 MB, free: 5.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.1166, allocations: 233.5 kB / 348.4 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.98e-05/0.1167, allocations: 22.58 kB / 348.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.1167, allocations: 0 / 348.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.1167, allocations: 60.25 kB / 348.4 MB, free: 5.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.1168, allocations: 3.938 kB / 348.4 MB, free: 5.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001706/0.1169, allocations: 53.56 kB / 348.5 MB, free: 5.227 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.117, allocations: 158.3 kB / 348.6 MB, free: 5.035 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005483/0.1176, allocations: 291.9 kB / 348.9 MB, free: 4.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.1176, allocations: 29.7 kB / 349 MB, free: 4.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/0.1177, allocations: 166.6 kB / 349.1 MB, free: 4.543 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.1178, allocations: 3.938 kB / 349.1 MB, free: 4.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.1178, allocations: 0 / 349.1 MB, free: 4.539 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1179, allocations: 318.8 kB / 349.4 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.1179, allocations: 4 kB / 349.4 MB, free: 4.215 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.118, allocations: 52.22 kB / 349.5 MB, free: 4.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.1181, allocations: 12.02 kB / 349.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1181, allocations: 0 / 349.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.166e-05/0.1182, allocations: 41.69 kB / 349.5 MB, free: 4.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1182, allocations: 4 kB / 349.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1182, allocations: 0 / 349.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1182, allocations: 0 / 349.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.155e-05/0.1183, allocations: 8.094 kB / 349.6 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1183, allocations: 0 / 349.6 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.1185, allocations: 15.89 kB / 349.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.1185, allocations: 4 kB / 349.6 MB, free: 4.059 MB / 282.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.0001361/0.1187, allocations: 137.7 kB / 349.7 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.1187, allocations: 15.81 kB / 349.7 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.1188, allocations: 20.48 kB / 349.7 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1188, allocations: 4 kB / 349.7 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1188, allocations: 3.938 kB / 349.8 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1188, allocations: 4 kB / 349.8 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.1191, allocations: 201.6 kB / 350 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1191, allocations: 0 / 350 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.304e-05/0.1192, allocations: 4 kB / 350 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1192, allocations: 0 / 350 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1192, allocations: 0 / 350 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1192, allocations: 0 / 350 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1192, allocations: 0 / 350 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1194, allocations: 88.89 kB / 350 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.1196, allocations: 113 kB / 350.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.1196, allocations: 0 / 350.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.1198, allocations: 11.98 kB / 350.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.1199, allocations: 0 / 350.2 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1199, allocations: 3.938 kB / 350.2 MB, free: 3.363 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004091/0.1203, allocations: 248.4 kB / 350.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1203, allocations: 0 / 350.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002876/0.1206, allocations: 20 kB / 350.4 MB, free: 3.102 MB / 282.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.0004696/0.1211, allocations: 193.4 kB / 350.6 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.927e-05/0.1212, allocations: 8 kB / 350.6 MB, free: 2.926 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1212, allocations: 0 / 350.6 MB, free: 2.926 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.609e-05/0.1212, allocations: 4 kB / 350.6 MB, free: 2.922 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.1214, allocations: 11.95 kB / 350.6 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.1219, allocations: 279.5 kB / 350.9 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.1222, allocations: 0.7126 MB / 351.6 MB, free: 1.859 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/0.1223, allocations: 23.42 kB / 351.7 MB, free: 1.84 MB / 282.7 MB Notification: Performance of SimCode: time 3.096e-06/0.1223, allocations: 0 / 351.7 MB, free: 1.84 MB / 282.7 MB Notification: Performance of Templates: time 0.005447/0.1278, allocations: 2.073 MB / 353.7 MB, free: 15.77 MB / 298.7 MB