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.918/1.918, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.159e-05/4.176e-05, allocations: 1.938 kB / 255.3 MB, free: 3.219 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 44.5 MB / 299.8 MB, free: 6.664 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3279/0.4386, allocations: 70.9 MB / 370.7 MB, free: 21.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4388, allocations: 62.89 kB / 370.8 MB, free: 21.34 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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.01505/0.4539, allocations: 3.665 MB / 374.5 MB, free: 20.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.576e-06/0.454, allocations: 1.062 kB / 374.5 MB, free: 20.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.454, allocations: 1.031 kB / 374.5 MB, free: 20.89 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.0002683/0.4543, allocations: 360.4 kB / 374.8 MB, free: 20.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4543, allocations: 13.39 kB / 374.8 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.4544, allocations: 8.375 kB / 374.8 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007547/0.4552, allocations: 362.4 kB / 375.2 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.4552, allocations: 0 / 375.2 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.4552, allocations: 1.5 kB / 375.2 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.4554, allocations: 82.2 kB / 375.3 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.538e-06/0.4554, allocations: 3.938 kB / 375.3 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.4554, allocations: 1.469 kB / 375.3 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.4554, allocations: 0 / 375.3 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/0.4554, allocations: 4.453 kB / 375.3 MB, free: 20.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.4558, allocations: 184.6 kB / 375.5 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.691e-05/0.4558, allocations: 22.89 kB / 375.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.4559, allocations: 7.812 kB / 375.5 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.4559, allocations: 5.531 kB / 375.5 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.4559, allocations: 35.78 kB / 375.5 MB, free: 19.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.118e-06/0.4559, allocations: 0 / 375.5 MB, free: 19.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.4561, allocations: 43.95 kB / 375.6 MB, free: 19.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.4561, allocations: 133.1 kB / 375.7 MB, free: 19.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.4563, allocations: 155.6 kB / 375.8 MB, free: 19.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.4563, allocations: 26.58 kB / 375.9 MB, free: 19.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.4564, allocations: 160.3 kB / 376 MB, free: 19.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.4564, allocations: 9.172 kB / 376 MB, free: 19.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.4564, allocations: 0 / 376 MB, free: 19.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.886e-05/0.4565, allocations: 317.8 kB / 376.3 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.4565, allocations: 2.531 kB / 376.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.4566, allocations: 51.81 kB / 376.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.68e-05/0.4566, allocations: 12.69 kB / 376.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4567, allocations: 0 / 376.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.53e-05/0.4567, allocations: 42.19 kB / 376.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4568, allocations: 4.969 kB / 376.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.18e-06/0.4568, allocations: 2.688 kB / 376.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.4568, allocations: 0 / 376.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.597e-05/0.4569, allocations: 2.688 kB / 376.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.838e-06/0.4569, allocations: 6.016 kB / 376.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.457, allocations: 12.44 kB / 376.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.457, allocations: 1.156 kB / 376.5 MB, free: 19.06 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.083e-05/0.4571, allocations: 115.5 kB / 376.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.4571, allocations: 11.59 kB / 376.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.4572, allocations: 12.7 kB / 376.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-06/0.4572, allocations: 0 / 376.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.903e-06/0.4572, allocations: 0 / 376.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.907e-06/0.4572, allocations: 1 kB / 376.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.4574, allocations: 178.3 kB / 376.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.85e-06/0.4574, allocations: 4.906 kB / 376.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.4575, allocations: 1.188 kB / 376.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.766e-06/0.4575, allocations: 1.438 kB / 376.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.317e-06/0.4575, allocations: 0 / 376.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.882e-06/0.4575, allocations: 1.828 kB / 376.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.468e-06/0.4575, allocations: 1.188 kB / 376.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.4577, allocations: 73.19 kB / 376.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.4577, allocations: 96.55 kB / 377 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.4578, allocations: 6.875 kB / 377 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.4579, allocations: 3.281 kB / 377 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.4579, allocations: 1.094 kB / 377 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.4579, allocations: 6.375 kB / 377 MB, free: 18.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.458, allocations: 129.3 kB / 377.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.4581, allocations: 0 / 377.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002999/0.4584, allocations: 29.78 kB / 377.1 MB, free: 18.48 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.0004504/0.4588, allocations: 178 kB / 377.3 MB, free: 18.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.116e-05/0.4589, allocations: 19.14 kB / 377.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.702e-06/0.459, allocations: 3.938 kB / 377.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.938e-05/0.459, allocations: 6.531 kB / 377.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.4591, allocations: 6.859 kB / 377.4 MB, free: 18.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.4594, allocations: 132.7 kB / 377.5 MB, free: 18.24 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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]