Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadModel(Modelica): time 2.068/2.068, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.398e-05/5.426e-05, allocations: 6.031 kB / 292.1 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1331, allocations: 50.42 MB / 342.5 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.404/0.5372, allocations: 76.44 MB / 419 MB, free: 1.699 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.5375, allocations: 68.91 kB / 419.1 MB, free: 1.664 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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.01408/0.5516, allocations: 3.36 MB / 422.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.16e-06/0.5516, allocations: 0 / 422.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.968e-06/0.5517, allocations: 0 / 422.4 MB, free: 15.07 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.0004117/0.5521, allocations: 388 kB / 422.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.5521, allocations: 8.031 kB / 422.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.5522, allocations: 11.86 kB / 422.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.5526, allocations: 219.8 kB / 423 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.5526, allocations: 3.688 kB / 423 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.5526, allocations: 0 / 423 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.5528, allocations: 73.92 kB / 423.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.5528, allocations: 0 / 423.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.5528, allocations: 3.953 kB / 423.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-06/0.5529, allocations: 4 kB / 423.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/0.5529, allocations: 0 / 423.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.5533, allocations: 190 kB / 423.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.798e-05/0.5533, allocations: 26.5 kB / 423.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.5534, allocations: 4.922 kB / 423.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.5534, allocations: 4 kB / 423.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.5535, allocations: 59.7 kB / 423.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.097e-06/0.5535, allocations: 0 / 423.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.5536, allocations: 33.7 kB / 423.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.5537, allocations: 174.1 kB / 423.6 MB, free: 13.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.554, allocations: 151.2 kB / 423.7 MB, free: 13.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.554, allocations: 29.7 kB / 423.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.5541, allocations: 90.89 kB / 423.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.5541, allocations: 11.03 kB / 423.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-06/0.5541, allocations: 0 / 423.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5543, allocations: 321.8 kB / 424.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.5543, allocations: 0.625 kB / 424.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.707e-05/0.5544, allocations: 51.91 kB / 424.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.62e-05/0.5545, allocations: 4 kB / 424.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5545, allocations: 0 / 424.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/0.5546, allocations: 49.59 kB / 424.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5546, allocations: 7.938 kB / 424.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.208e-06/0.5547, allocations: 0 / 424.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.5547, allocations: 4.094 kB / 424.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.74e-05/0.5547, allocations: 7.953 kB / 424.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.5548, allocations: 4 kB / 424.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.5549, allocations: 7.438 kB / 424.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.5549, allocations: 0 / 424.3 MB, free: 12.95 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.12e-05/0.555, allocations: 112 kB / 424.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.555, allocations: 7.906 kB / 424.4 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.5551, allocations: 14.33 kB / 424.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.5551, allocations: 0 / 424.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.818e-06/0.5551, allocations: 7.953 kB / 424.5 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.551e-06/0.5551, allocations: 0 / 424.5 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.5554, allocations: 172.6 kB / 424.6 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-06/0.5554, allocations: 0 / 424.6 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.343e-05/0.5555, allocations: 7.984 kB / 424.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5555, allocations: 0 / 424.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.5555, allocations: 0 / 424.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.319e-06/0.5555, allocations: 3.938 kB / 424.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.736e-06/0.5555, allocations: 0 / 424.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.5557, allocations: 80.36 kB / 424.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.5558, allocations: 96.28 kB / 424.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.5559, allocations: 0 / 424.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.556, allocations: 7.984 kB / 424.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.556, allocations: 0 / 424.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.556, allocations: 3.938 kB / 424.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.5562, allocations: 133 kB / 425 MB, free: 12.26 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.5562, allocations: 0 / 425 MB, free: 12.26 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002993/0.5565, allocations: 27.64 kB / 425 MB, free: 12.23 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.0005096/0.557, allocations: 185.5 kB / 425.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.74e-05/0.5571, allocations: 11.98 kB / 425.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.077e-06/0.5572, allocations: 0 / 425.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.967e-05/0.5572, allocations: 4 kB / 425.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.5573, allocations: 13.88 kB / 425.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.5577, allocations: 99 kB / 425.3 MB, free: 11.93 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]