Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.645/2.645, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.957e-05, allocations: 1.375 kB / 249.7 MB, free: 5.289 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1251, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.571/0.6962, allocations: 70.23 MB / 364.5 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.6965, allocations: 67.31 kB / 364.5 MB, free: 7.148 MB / 298.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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.03163/0.7282, allocations: 5.245 MB / 369.8 MB, free: 22.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7282, allocations: 0 / 369.8 MB, free: 22.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.7283, allocations: 3.875 kB / 369.8 MB, free: 22.58 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.000415/0.7287, allocations: 359.8 kB / 370.1 MB, free: 22.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.7288, allocations: 7.75 kB / 370.2 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.7288, allocations: 33.61 kB / 370.2 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.7289, allocations: 7.781 kB / 370.2 MB, free: 22.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006035/0.7349, allocations: 1.18 MB / 371.4 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.735, allocations: 0 / 371.4 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.7351, allocations: 1.281 kB / 371.4 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.689e-05/0.7351, allocations: 4.047 kB / 371.4 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.7353, allocations: 80.25 kB / 371.5 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.7354, allocations: 0 / 371.5 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.7354, allocations: 9.328 kB / 371.5 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.7354, allocations: 0 / 371.5 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.736, allocations: 169.9 kB / 371.6 MB, free: 21.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.7e-05/0.7361, allocations: 17.14 kB / 371.7 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.7361, allocations: 7.547 kB / 371.7 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.7361, allocations: 0 / 371.7 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.7362, allocations: 43.5 kB / 371.7 MB, free: 21.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.545e-06/0.7362, allocations: 0 / 371.7 MB, free: 21.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002264/0.7364, allocations: 38.7 kB / 371.7 MB, free: 21.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.7365, allocations: 133.8 kB / 371.9 MB, free: 21.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.7368, allocations: 153 kB / 372 MB, free: 21.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.7369, allocations: 25.7 kB / 372 MB, free: 21.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.7369, allocations: 97.67 kB / 372.1 MB, free: 21.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.737, allocations: 3.906 kB / 372.1 MB, free: 21.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.737, allocations: 1.312 kB / 372.1 MB, free: 21.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.516e-05/0.7371, allocations: 326.7 kB / 372.5 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.7371, allocations: 2.625 kB / 372.5 MB, free: 20.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-05/0.7372, allocations: 46.12 kB / 372.5 MB, free: 20.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.7373, allocations: 13.23 kB / 372.5 MB, free: 20.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.7373, allocations: 4.062 kB / 372.5 MB, free: 20.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000141/0.7374, allocations: 44.31 kB / 372.6 MB, free: 20.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.7375, allocations: 5.531 kB / 372.6 MB, free: 20.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.7375, allocations: 0 / 372.6 MB, free: 20.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.7375, allocations: 1.25 kB / 372.6 MB, free: 20.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.7376, allocations: 2.438 kB / 372.6 MB, free: 20.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.7376, allocations: 2.531 kB / 372.6 MB, free: 20.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.7379, allocations: 8.031 kB / 372.6 MB, free: 20.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.7379, allocations: 5.5 kB / 372.6 MB, free: 20.77 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.0001314/0.7381, allocations: 118.8 kB / 372.7 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.7381, allocations: 6.781 kB / 372.7 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.7382, allocations: 9.328 kB / 372.7 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.7382, allocations: 1.219 kB / 372.7 MB, free: 20.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7382, allocations: 3.938 kB / 372.7 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7382, allocations: 0 / 372.7 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.7386, allocations: 156.2 kB / 372.9 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7386, allocations: 0 / 372.9 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/0.7387, allocations: 5.266 kB / 372.9 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.7387, allocations: 1.312 kB / 372.9 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.7387, allocations: 4 kB / 372.9 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7387, allocations: 0 / 372.9 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7388, allocations: 1.312 kB / 372.9 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.739, allocations: 69.06 kB / 373 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.7391, allocations: 99.38 kB / 373.1 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.7392, allocations: 5.234 kB / 373.1 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.7394, allocations: 5.344 kB / 373.1 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.7394, allocations: 5.344 kB / 373.1 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.7394, allocations: 0 / 373.1 MB, free: 20.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002237/0.7397, allocations: 129.7 kB / 373.2 MB, free: 20.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.7397, allocations: 0 / 373.2 MB, free: 20.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004511/0.7401, allocations: 30.16 kB / 373.2 MB, free: 20.23 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.001204/0.7414, allocations: 0.7003 MB / 373.9 MB, free: 19.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.7415, allocations: 12.73 kB / 373.9 MB, free: 19.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7416, allocations: 5.188 kB / 374 MB, free: 19.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.378e-05/0.7416, allocations: 2.625 kB / 374 MB, free: 19.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.7418, allocations: 9.531 kB / 374 MB, free: 19.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.7432, allocations: 228.3 kB / 374.2 MB, free: 19.44 MB / 314.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:736:5-736:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]