Notification: Performance of loadModel(Modelica): time 1.561/1.561, allocations: 194.3 MB / 200.5 MB, free: 5.309 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.848e-06/9.987e-06, allocations: 0.9375 kB / 247.1 MB, free: 4.859 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05885/0.05892, allocations: 44.33 MB / 291.4 MB, free: 9.574 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2172/0.2763, allocations: 70.13 MB / 361.5 MB, free: 6.953 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.2765, allocations: 69.89 kB / 361.6 MB, free: 6.949 MB / 296.6 MB [Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [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: time 0.02327/0.2999, allocations: 5.293 MB / 366.9 MB, free: 6.691 MB / 296.6 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3, allocations: 0 / 366.9 MB, free: 6.691 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0003246/0.3004, allocations: 395.7 kB / 367.3 MB, free: 6.305 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.3005, allocations: 9.25 kB / 367.3 MB, free: 6.305 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.3006, allocations: 11.81 kB / 367.3 MB, free: 6.297 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/0.3013, allocations: 364.1 kB / 367.7 MB, free: 6.094 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3014, allocations: 0 / 367.7 MB, free: 6.094 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3014, allocations: 0 / 367.7 MB, free: 6.094 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.926e-05/0.3015, allocations: 4.812 kB / 367.7 MB, free: 6.094 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.568e-05/0.3017, allocations: 82.22 kB / 367.7 MB, free: 6.008 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.359e-06/0.3017, allocations: 0 / 367.7 MB, free: 6.008 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.3018, allocations: 0 / 367.7 MB, free: 6.008 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3019, allocations: 0 / 367.7 MB, free: 6.008 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.3022, allocations: 171.7 kB / 367.9 MB, free: 5.844 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 3.408e-05/0.3023, allocations: 19.7 kB / 367.9 MB, free: 5.816 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.3024, allocations: 8.734 kB / 367.9 MB, free: 5.809 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.146e-06/0.3025, allocations: 0 / 367.9 MB, free: 5.809 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.3025, allocations: 35.58 kB / 368 MB, free: 5.766 MB / 296.6 MB Notification: Performance of pre-optimization done (n=1): time 2.375e-06/0.3026, allocations: 3.812 kB / 368 MB, free: 5.766 MB / 296.6 MB Notification: Performance of matching and sorting (n=1): time 0.0001278/0.3028, allocations: 42.33 kB / 368 MB, free: 5.73 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.3029, allocations: 129.2 kB / 368.1 MB, free: 5.574 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.3031, allocations: 159.2 kB / 368.3 MB, free: 5.477 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3031, allocations: 25.7 kB / 368.3 MB, free: 5.445 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.3032, allocations: 88.67 kB / 368.4 MB, free: 5.363 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.3033, allocations: 10.59 kB / 368.4 MB, free: 5.359 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-06/0.3034, allocations: 0 / 368.4 MB, free: 5.359 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.3035, allocations: 321.2 kB / 368.7 MB, free: 5.043 MB / 296.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.3035, allocations: 3.781 kB / 368.7 MB, free: 5.043 MB / 296.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.805e-05/0.3036, allocations: 51.09 kB / 368.8 MB, free: 4.992 MB / 296.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.3037, allocations: 8.891 kB / 368.8 MB, free: 4.988 MB / 296.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.863e-06/0.3038, allocations: 0 / 368.8 MB, free: 4.988 MB / 296.6 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.827e-05/0.3039, allocations: 46.52 kB / 368.8 MB, free: 4.953 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.304, allocations: 8.234 kB / 368.8 MB, free: 4.953 MB / 296.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.285e-06/0.304, allocations: 0 / 368.8 MB, free: 4.953 MB / 296.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3041, allocations: 4.094 kB / 368.9 MB, free: 4.949 MB / 296.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.981e-05/0.3042, allocations: 4.797 kB / 368.9 MB, free: 4.949 MB / 296.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3043, allocations: 0 / 368.9 MB, free: 4.949 MB / 296.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.3044, allocations: 8.609 kB / 368.9 MB, free: 4.945 MB / 296.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-06/0.3045, allocations: 3.906 kB / 368.9 MB, free: 4.941 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.3046, allocations: 79.8 kB / 368.9 MB, free: 4.867 MB / 296.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.3046, allocations: 11.7 kB / 369 MB, free: 4.859 MB / 296.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.3047, allocations: 9.062 kB / 369 MB, free: 4.859 MB / 296.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.073e-06/0.3048, allocations: 0 / 369 MB, free: 4.859 MB / 296.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.378e-06/0.3048, allocations: 8.062 kB / 369 MB, free: 4.852 MB / 296.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.33e-06/0.3049, allocations: 0.7969 kB / 369 MB, free: 4.852 MB / 296.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.3052, allocations: 153.4 kB / 369.1 MB, free: 20.69 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-06/0.3052, allocations: 0 / 369.1 MB, free: 20.69 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.3053, allocations: 8.938 kB / 369.1 MB, free: 20.69 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3054, allocations: 3.906 kB / 369.1 MB, free: 20.68 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.289e-06/0.3055, allocations: 0 / 369.1 MB, free: 20.68 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3055, allocations: 0 / 369.1 MB, free: 20.68 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-06/0.3056, allocations: 0.9844 kB / 369.1 MB, free: 20.68 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001261/0.3058, allocations: 74.56 kB / 369.2 MB, free: 20.61 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/0.3059, allocations: 98.02 kB / 369.3 MB, free: 20.52 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.306, allocations: 0 / 369.3 MB, free: 20.52 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.3061, allocations: 4.938 kB / 369.3 MB, free: 20.52 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.3062, allocations: 0 / 369.3 MB, free: 20.52 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-06/0.3063, allocations: 0 / 369.3 MB, free: 20.52 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001254/0.3064, allocations: 134.7 kB / 369.4 MB, free: 20.44 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0003091/0.3068, allocations: 25.19 kB / 369.5 MB, free: 20.43 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003193/0.3072, allocations: 153.2 kB / 369.6 MB, free: 20.34 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 8.339e-05/0.3073, allocations: 12.56 kB / 369.6 MB, free: 20.34 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.422e-06/0.3074, allocations: 3.875 kB / 369.6 MB, free: 20.34 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 1.446e-05/0.3075, allocations: 0 / 369.6 MB, free: 20.34 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.3077, allocations: 12.16 kB / 369.6 MB, free: 20.33 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.308, allocations: 106.6 kB / 369.8 MB, free: 20.24 MB / 312.6 MB [SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]