Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.568e-05/2.581e-05, allocations: 2.031 kB / 292.1 MB, free: 8.863 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0911/0.09115, allocations: 50.42 MB / 342.5 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3506/0.4418, allocations: 76.51 MB / 419 MB, free: 1.582 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.4421, allocations: 62.91 kB / 419.1 MB, free: 1.551 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.01455/0.4566, allocations: 3.365 MB / 422.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.153e-06/0.4567, allocations: 0 / 422.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.4567, allocations: 4 kB / 422.5 MB, free: 14.95 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.0004084/0.4571, allocations: 375.9 kB / 422.8 MB, free: 14.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4572, allocations: 12.03 kB / 422.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.4573, allocations: 11.86 kB / 422.9 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.4577, allocations: 225.3 kB / 423.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.4577, allocations: 0 / 423.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.4577, allocations: 0 / 423.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.4579, allocations: 69.92 kB / 423.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.631e-06/0.4579, allocations: 7.984 kB / 423.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.458, allocations: 3.953 kB / 423.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.741e-06/0.458, allocations: 7.984 kB / 423.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.458, allocations: 0 / 423.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.4584, allocations: 185 kB / 423.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.784e-05/0.4585, allocations: 21.89 kB / 423.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.4586, allocations: 12.86 kB / 423.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.984e-06/0.4586, allocations: 0 / 423.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/0.4586, allocations: 60.27 kB / 423.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.17e-06/0.4587, allocations: 0 / 423.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000162/0.4588, allocations: 41.69 kB / 423.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.459, allocations: 165.5 kB / 423.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.4592, allocations: 156.9 kB / 423.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.4592, allocations: 25.7 kB / 423.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.664e-05/0.4593, allocations: 161.1 kB / 424 MB, free: 13.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.4594, allocations: 7.844 kB / 424 MB, free: 13.24 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-06/0.4594, allocations: 0 / 424 MB, free: 13.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4596, allocations: 314.9 kB / 424.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.4596, allocations: 4.625 kB / 424.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.793e-05/0.4597, allocations: 47.34 kB / 424.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.4597, allocations: 4 kB / 424.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.56e-06/0.4597, allocations: 0 / 424.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001114/0.4599, allocations: 49.62 kB / 424.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4599, allocations: 8 kB / 424.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4599, allocations: 0 / 424.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4599, allocations: 0 / 424.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/0.46, allocations: 7.953 kB / 424.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.028e-06/0.46, allocations: 0 / 424.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.4601, allocations: 7.984 kB / 424.4 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-06/0.4602, allocations: 0 / 424.4 MB, free: 12.78 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.964e-05/0.4603, allocations: 105 kB / 424.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.4603, allocations: 11.94 kB / 424.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.4604, allocations: 15.53 kB / 424.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.871e-06/0.4604, allocations: 0 / 424.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.677e-06/0.4604, allocations: 3.953 kB / 424.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-06/0.4604, allocations: 0 / 424.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.4607, allocations: 175.6 kB / 424.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-06/0.4607, allocations: 0 / 424.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.4608, allocations: 0 / 424.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.18e-06/0.4608, allocations: 0 / 424.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.4608, allocations: 4 kB / 424.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.568e-06/0.4608, allocations: 3.938 kB / 424.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/0.4608, allocations: 4 kB / 424.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.461, allocations: 76.05 kB / 424.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.4612, allocations: 100.5 kB / 424.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.4612, allocations: 0 / 424.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/0.4613, allocations: 4 kB / 424.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.4614, allocations: 4 kB / 424.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.4614, allocations: 96 / 424.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.4616, allocations: 144.8 kB / 425.1 MB, free: 12.08 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.4616, allocations: 0 / 425.1 MB, free: 12.08 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.4619, allocations: 19.12 kB / 425.1 MB, free: 12.07 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.0005481/0.4625, allocations: 183.5 kB / 425.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.4626, allocations: 11.12 kB / 425.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4626, allocations: 0 / 425.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.932e-05/0.4627, allocations: 8.062 kB / 425.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.4628, allocations: 10.75 kB / 425.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.4632, allocations: 127.1 kB / 425.4 MB, free: 11.73 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]