Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.698e-05, allocations: 0 / 292.6 MB, free: 8.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 50.42 MB / 343.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.4624, allocations: 76.46 MB / 419.5 MB, free: 1.738 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.4627, allocations: 74.08 kB / 419.6 MB, free: 1.699 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd - DAE generated: time 0.0137/0.4764, allocations: 3.352 MB / 422.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.733e-06/0.4764, allocations: 0 / 422.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.692e-06/0.4765, allocations: 0 / 422.9 MB, free: 15.11 MB / 346.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.000405/0.4769, allocations: 390 kB / 423.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4769, allocations: 8.031 kB / 423.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/0.477, allocations: 11.86 kB / 423.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.4774, allocations: 213.2 kB / 423.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.4774, allocations: 4 kB / 423.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.4774, allocations: 0 / 423.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.4776, allocations: 73.42 kB / 423.6 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.4776, allocations: 0 / 423.6 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.4776, allocations: 3.953 kB / 423.6 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.4776, allocations: 4 kB / 423.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.4777, allocations: 4 kB / 423.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.4781, allocations: 189.9 kB / 423.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.454e-05/0.4781, allocations: 18.58 kB / 423.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.4782, allocations: 8.797 kB / 423.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.693e-06/0.4782, allocations: 4.062 kB / 423.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.4782, allocations: 56.27 kB / 423.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 5.74e-06/0.4783, allocations: 7.984 kB / 423.9 MB, free: 13.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.4784, allocations: 44.75 kB / 424 MB, free: 13.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.4785, allocations: 162.2 kB / 424.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.4787, allocations: 152.5 kB / 424.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.4788, allocations: 29.7 kB / 424.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.4789, allocations: 93.33 kB / 424.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.4789, allocations: 3.906 kB / 424.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-06/0.4789, allocations: 0 / 424.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4791, allocations: 325.9 kB / 424.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.4791, allocations: 4.562 kB / 424.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.4792, allocations: 47.41 kB / 424.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.4792, allocations: 4 kB / 424.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.058e-06/0.4792, allocations: 0 / 424.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001157/0.4794, allocations: 56.78 kB / 424.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4794, allocations: 4 kB / 424.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.367e-06/0.4794, allocations: 0 / 424.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.4794, allocations: 0 / 424.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.927e-05/0.4795, allocations: 7.953 kB / 424.8 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4795, allocations: 0 / 424.8 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.587e-05/0.4796, allocations: 7.938 kB / 424.8 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-06/0.4796, allocations: 0 / 424.8 MB, free: 13 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: 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 9.703e-05/0.4797, allocations: 108.4 kB / 424.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.4798, allocations: 7.906 kB / 425 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.4798, allocations: 23.61 kB / 425 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4798, allocations: 0 / 425 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.746e-06/0.4799, allocations: 3.953 kB / 425 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.974e-06/0.4799, allocations: 0 / 425 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.4801, allocations: 176 kB / 425.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.308e-06/0.4802, allocations: 0 / 425.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.4802, allocations: 4 kB / 425.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.889e-06/0.4802, allocations: 0 / 425.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-06/0.4802, allocations: 3.938 kB / 425.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.976e-06/0.4803, allocations: 0 / 425.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.625e-06/0.4803, allocations: 4 kB / 425.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.4804, allocations: 76.36 kB / 425.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.4806, allocations: 96.41 kB / 425.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.4806, allocations: 3.984 kB / 425.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.4807, allocations: 4 kB / 425.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.016e-05/0.4807, allocations: 0 / 425.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-06/0.4808, allocations: 0 / 425.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001604/0.4809, allocations: 147.6 kB / 425.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.17e-07/0.4809, allocations: 0 / 425.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.4812, allocations: 16 kB / 425.5 MB, free: 12.28 MB / 346.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.0004915/0.4818, allocations: 181.7 kB / 425.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.243e-05/0.4819, allocations: 15.3 kB / 425.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.656e-06/0.4819, allocations: 0 / 425.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.4819, allocations: 4 kB / 425.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.482, allocations: 11.62 kB / 425.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.4823, allocations: 98.81 kB / 425.8 MB, free: 11.98 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:744:5-744:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]