Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadModel(Modelica): time 1.828/1.828, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.358e-05/2.366e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2723, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.423, allocations: 70.25 MB / 364.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4233, allocations: 63.97 kB / 364.4 MB, free: 11.69 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd - DAE generated: time 0.0143/0.4376, allocations: 3.541 MB / 367.9 MB, free: 8.145 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.419e-06/0.4376, allocations: 4 kB / 368 MB, free: 8.141 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.4377, allocations: 0 / 368 MB, free: 8.141 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003783/0.438, allocations: 358.3 kB / 368.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.4381, allocations: 12.03 kB / 368.3 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.4382, allocations: 7.906 kB / 368.3 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000764/0.4389, allocations: 369.3 kB / 368.7 MB, free: 7.328 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.439, allocations: 0 / 368.7 MB, free: 7.328 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.439, allocations: 4 kB / 368.7 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.618e-05/0.439, allocations: 0 / 368.7 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.4392, allocations: 78.78 kB / 368.8 MB, free: 7.223 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.843e-06/0.4392, allocations: 4 kB / 368.8 MB, free: 7.219 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.4392, allocations: 4 kB / 368.8 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-06/0.4392, allocations: 0 / 368.8 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.4396, allocations: 162.2 kB / 368.9 MB, free: 7.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.673e-05/0.4397, allocations: 22.58 kB / 369 MB, free: 6.988 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.4397, allocations: 4.859 kB / 369 MB, free: 6.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-06/0.4397, allocations: 0 / 369 MB, free: 6.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.4398, allocations: 46.55 kB / 369 MB, free: 6.926 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 5.414e-06/0.4398, allocations: 0 / 369 MB, free: 6.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001404/0.44, allocations: 41.55 kB / 369 MB, free: 6.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/0.4401, allocations: 128.5 kB / 369.2 MB, free: 6.723 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.4403, allocations: 153.3 kB / 369.3 MB, free: 6.562 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.4403, allocations: 29.7 kB / 369.3 MB, free: 6.527 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.4404, allocations: 154.6 kB / 369.5 MB, free: 6.375 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.4405, allocations: 3.906 kB / 369.5 MB, free: 6.371 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-06/0.4405, allocations: 4.031 kB / 369.5 MB, free: 6.367 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4406, allocations: 318.8 kB / 369.8 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.4407, allocations: 4 kB / 369.8 MB, free: 6.043 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.629e-05/0.4408, allocations: 45.14 kB / 369.9 MB, free: 5.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.4408, allocations: 11.89 kB / 369.9 MB, free: 5.969 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.4408, allocations: 4.062 kB / 369.9 MB, free: 5.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000109/0.4409, allocations: 37.7 kB / 369.9 MB, free: 5.922 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.441, allocations: 8 kB / 369.9 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.984e-06/0.441, allocations: 0 / 369.9 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.441, allocations: 0 / 369.9 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.143e-05/0.441, allocations: 7.984 kB / 369.9 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.785e-06/0.4411, allocations: 3.938 kB / 369.9 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-05/0.4412, allocations: 4 kB / 369.9 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-06/0.4412, allocations: 0 / 369.9 MB, free: 5.898 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: 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.0001065/0.4413, allocations: 116.8 kB / 370.1 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.4413, allocations: 11.89 kB / 370.1 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.4414, allocations: 8.688 kB / 370.1 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.961e-06/0.4414, allocations: 3.984 kB / 370.1 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.89e-06/0.4414, allocations: 4 kB / 370.1 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4414, allocations: 3.938 kB / 370.1 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.4417, allocations: 146.2 kB / 370.2 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-06/0.4417, allocations: 0 / 370.2 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.4417, allocations: 4 kB / 370.2 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.372e-06/0.4418, allocations: 3.953 kB / 370.2 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-06/0.4418, allocations: 7.938 kB / 370.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4418, allocations: 0 / 370.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.18e-06/0.4418, allocations: 0 / 370.2 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.442, allocations: 73.03 kB / 370.3 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.4421, allocations: 97.02 kB / 370.4 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.4421, allocations: 3.953 kB / 370.4 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.4422, allocations: 4 kB / 370.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.4422, allocations: 4.094 kB / 370.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.363e-06/0.4422, allocations: 4 kB / 370.4 MB, free: 5.336 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.4424, allocations: 130.3 kB / 370.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.45e-07/0.4424, allocations: 0 / 370.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002908/0.4427, allocations: 23.94 kB / 370.6 MB, free: 5.188 MB / 314.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.0004869/0.4432, allocations: 182.3 kB / 370.8 MB, free: 5.027 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.589e-05/0.4433, allocations: 8 kB / 370.8 MB, free: 5.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.85e-06/0.4433, allocations: 4.062 kB / 370.8 MB, free: 5.016 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.638e-05/0.4434, allocations: 4 kB / 370.8 MB, free: 5.012 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.4435, allocations: 4 kB / 370.8 MB, free: 5.008 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.4438, allocations: 133.1 kB / 370.9 MB, free: 4.852 MB / 314.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:637:5-637:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]