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.455/2.455, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.181e-05, allocations: 4 kB / 249.8 MB, free: 14.78 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3729, allocations: 44.49 MB / 294.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.5179, allocations: 70.24 MB / 364.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.5182, allocations: 59.97 kB / 364.6 MB, free: 11.52 MB / 314.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.03089/0.5491, allocations: 5.251 MB / 369.8 MB, free: 6.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5492, allocations: 0 / 369.8 MB, free: 6.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.5492, allocations: 4 kB / 369.8 MB, free: 6.266 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.0004684/0.5497, allocations: 362.3 kB / 370.2 MB, free: 5.867 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.5498, allocations: 8.031 kB / 370.2 MB, free: 5.859 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.5498, allocations: 11.84 kB / 370.2 MB, free: 5.848 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005958/0.5558, allocations: 1.177 MB / 371.4 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.5559, allocations: 0 / 371.4 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.5559, allocations: 4 kB / 371.4 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.136e-05/0.556, allocations: 4 kB / 371.4 MB, free: 4.625 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.5561, allocations: 74.78 kB / 371.5 MB, free: 4.527 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5562, allocations: 0 / 371.5 MB, free: 4.527 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.5562, allocations: 0 / 371.5 MB, free: 4.527 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.5562, allocations: 0 / 371.5 MB, free: 4.527 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.5567, allocations: 178.1 kB / 371.6 MB, free: 4.316 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.712e-05/0.5568, allocations: 22.52 kB / 371.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.5569, allocations: 4.859 kB / 371.7 MB, free: 4.277 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.5569, allocations: 4.062 kB / 371.7 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.5569, allocations: 38.55 kB / 371.7 MB, free: 4.227 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.334e-06/0.557, allocations: 0 / 371.7 MB, free: 4.227 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001887/0.5572, allocations: 37.7 kB / 371.7 MB, free: 4.184 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/0.5573, allocations: 136.5 kB / 371.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.5576, allocations: 153.1 kB / 372 MB, free: 3.863 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.5576, allocations: 25.7 kB / 372 MB, free: 3.832 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.5577, allocations: 92.14 kB / 372.1 MB, free: 3.738 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.5577, allocations: 3.906 kB / 372.1 MB, free: 3.734 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-06/0.5578, allocations: 3.938 kB / 372.1 MB, free: 3.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5579, allocations: 322.8 kB / 372.5 MB, free: 3.406 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.558, allocations: 4.031 kB / 372.5 MB, free: 3.402 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.92e-05/0.5581, allocations: 53.08 kB / 372.5 MB, free: 3.332 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.5581, allocations: 11.95 kB / 372.5 MB, free: 3.324 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5581, allocations: 0 / 372.5 MB, free: 3.324 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001414/0.5583, allocations: 49.59 kB / 372.6 MB, free: 3.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5583, allocations: 8.094 kB / 372.6 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5584, allocations: 0 / 372.6 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5584, allocations: 4 kB / 372.6 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.5585, allocations: 0 / 372.6 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.5585, allocations: 0 / 372.6 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.5586, allocations: 4 kB / 372.6 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.5587, allocations: 4 kB / 372.6 MB, free: 3.25 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.0001134/0.5588, allocations: 112.7 kB / 372.7 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001042/0.5589, allocations: 45.59 kB / 372.7 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.559, allocations: 11.94 kB / 372.8 MB, free: 3.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.559, allocations: 8.688 kB / 372.8 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.559, allocations: 0 / 372.8 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5591, allocations: 7.984 kB / 372.8 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.5591, allocations: 4 kB / 372.8 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.5594, allocations: 158.2 kB / 372.9 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.5594, allocations: 0 / 372.9 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.5595, allocations: 0 / 372.9 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5595, allocations: 0 / 372.9 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.5595, allocations: 0 / 372.9 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5595, allocations: 0 / 372.9 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5596, allocations: 8 kB / 372.9 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.5597, allocations: 76.92 kB / 373 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.5599, allocations: 97.11 kB / 373.1 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.56, allocations: 3.938 kB / 373.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.5601, allocations: 4 kB / 373.1 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.5601, allocations: 0 / 373.1 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.5601, allocations: 0 / 373.1 MB, free: 2.641 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001975/0.5604, allocations: 135.3 kB / 373.3 MB, free: 2.508 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5604, allocations: 0 / 373.3 MB, free: 2.508 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004407/0.5608, allocations: 27.92 kB / 373.3 MB, free: 2.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.00103/0.5619, allocations: 0.7012 MB / 374 MB, free: 1.781 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.562, allocations: 8 kB / 374 MB, free: 1.773 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.562, allocations: 0 / 374 MB, free: 1.773 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.372e-05/0.562, allocations: 7.984 kB / 374 MB, free: 1.766 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.5622, allocations: 4 kB / 374 MB, free: 1.762 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.5636, allocations: 232.7 kB / 374.2 MB, free: 1.5 MB / 314.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:637:5-637:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]