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.857/1.857, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.422e-05/2.437e-05, allocations: 2.406 kB / 255.3 MB, free: 3.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07653/0.07658, allocations: 44.51 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2997/0.3763, allocations: 70.91 MB / 370.8 MB, free: 70.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.3765, allocations: 62.92 kB / 370.8 MB, free: 70.09 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.01471/0.3913, allocations: 3.669 MB / 374.5 MB, free: 69.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.559e-06/0.3913, allocations: 0 / 374.5 MB, free: 69.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.182e-06/0.3913, allocations: 1 kB / 374.5 MB, free: 69.66 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.0002684/0.3916, allocations: 361.7 kB / 374.8 MB, free: 69.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3917, allocations: 9.766 kB / 374.8 MB, free: 69.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.3917, allocations: 7.375 kB / 374.9 MB, free: 69.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007257/0.3925, allocations: 370.5 kB / 375.2 MB, free: 69.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3925, allocations: 0 / 375.2 MB, free: 69.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.3925, allocations: 1.094 kB / 375.2 MB, free: 69.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.3927, allocations: 78.5 kB / 375.3 MB, free: 68.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.137e-06/0.3927, allocations: 1.125 kB / 375.3 MB, free: 68.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3927, allocations: 4.125 kB / 375.3 MB, free: 68.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.825e-06/0.3927, allocations: 4.969 kB / 375.3 MB, free: 68.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.3928, allocations: 2.844 kB / 375.3 MB, free: 68.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.3931, allocations: 185.8 kB / 375.5 MB, free: 68.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/0.3931, allocations: 16.7 kB / 375.5 MB, free: 68.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.3932, allocations: 14.53 kB / 375.5 MB, free: 68.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.489e-06/0.3932, allocations: 0 / 375.5 MB, free: 68.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.3932, allocations: 31.75 kB / 375.6 MB, free: 68.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 1.881e-06/0.3932, allocations: 0 / 375.6 MB, free: 68.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001258/0.3934, allocations: 49.47 kB / 375.6 MB, free: 68.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.3934, allocations: 130.5 kB / 375.7 MB, free: 68.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.3936, allocations: 154.4 kB / 375.9 MB, free: 68.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3936, allocations: 31.14 kB / 375.9 MB, free: 68.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.3937, allocations: 156.4 kB / 376.1 MB, free: 68.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.3937, allocations: 13.2 kB / 376.1 MB, free: 68.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-06/0.3937, allocations: 0 / 376.1 MB, free: 68.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.875e-05/0.3938, allocations: 317.3 kB / 376.4 MB, free: 67.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.3938, allocations: 1.5 kB / 376.4 MB, free: 67.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.875e-05/0.3939, allocations: 54.86 kB / 376.4 MB, free: 67.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/0.3939, allocations: 7.5 kB / 376.4 MB, free: 67.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.197e-06/0.394, allocations: 1.094 kB / 376.4 MB, free: 67.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.261e-05/0.394, allocations: 43.12 kB / 376.5 MB, free: 67.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3941, allocations: 6.562 kB / 376.5 MB, free: 67.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3941, allocations: 0 / 376.5 MB, free: 67.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3941, allocations: 1.094 kB / 376.5 MB, free: 67.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.807e-05/0.3942, allocations: 2.219 kB / 376.5 MB, free: 67.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.789e-06/0.3942, allocations: 5.094 kB / 376.5 MB, free: 67.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3943, allocations: 8.406 kB / 376.5 MB, free: 67.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-06/0.3943, allocations: 0.9375 kB / 376.5 MB, free: 67.83 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 6.087e-05/0.3944, allocations: 108.1 kB / 376.6 MB, free: 67.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.3944, allocations: 11.73 kB / 376.6 MB, free: 67.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.3945, allocations: 7.891 kB / 376.6 MB, free: 67.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-06/0.3945, allocations: 1.094 kB / 376.6 MB, free: 67.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.831e-06/0.3945, allocations: 64 / 376.6 MB, free: 67.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.393e-06/0.3945, allocations: 5.031 kB / 376.6 MB, free: 67.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.3947, allocations: 182.4 kB / 376.8 MB, free: 67.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-06/0.3947, allocations: 0 / 376.8 MB, free: 67.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.3948, allocations: 1.75 kB / 376.8 MB, free: 67.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.061e-06/0.3948, allocations: 0 / 376.8 MB, free: 67.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.58e-06/0.3948, allocations: 1.125 kB / 376.8 MB, free: 67.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.1e-06/0.3948, allocations: 3.938 kB / 376.8 MB, free: 67.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3948, allocations: 0 / 376.8 MB, free: 67.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.395, allocations: 80.28 kB / 376.9 MB, free: 67.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.3951, allocations: 95.73 kB / 377 MB, free: 67.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.3951, allocations: 1.875 kB / 377 MB, free: 67.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.3952, allocations: 4.688 kB / 377 MB, free: 67.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.3952, allocations: 0 / 377 MB, free: 67.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.3952, allocations: 2.828 kB / 377 MB, free: 67.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.3954, allocations: 133.6 kB / 377.1 MB, free: 67.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.3954, allocations: 0 / 377.1 MB, free: 67.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003066/0.3957, allocations: 25.2 kB / 377.2 MB, free: 67.25 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.0004467/0.3962, allocations: 180.9 kB / 377.3 MB, free: 67.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.84e-05/0.3963, allocations: 20.38 kB / 377.4 MB, free: 67.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.971e-06/0.3963, allocations: 0 / 377.4 MB, free: 67.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.702e-05/0.3963, allocations: 3.953 kB / 377.4 MB, free: 67.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.3964, allocations: 15.17 kB / 377.4 MB, free: 67.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.3967, allocations: 136.4 kB / 377.5 MB, free: 67 MB / 314.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]