Notification: Performance of loadModel(Modelica): time 1.495/1.495, allocations: 194.3 MB / 200.5 MB, free: 5.312 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.52e-06/8.591e-06, allocations: 1.531 kB / 247.1 MB, free: 4.848 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05598/0.05605, allocations: 44.32 MB / 291.4 MB, free: 9.566 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2091/0.2652, allocations: 70.12 MB / 361.5 MB, free: 6.922 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.2655, allocations: 68.78 kB / 361.6 MB, free: 6.918 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.02317/0.2888, allocations: 5.3 MB / 366.9 MB, free: 6.656 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.2888, allocations: 3.938 kB / 366.9 MB, free: 6.656 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0003051/0.2892, allocations: 389 kB / 367.3 MB, free: 6.273 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2893, allocations: 7.344 kB / 367.3 MB, free: 6.273 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.2894, allocations: 7.781 kB / 367.3 MB, free: 6.27 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006506/0.2901, allocations: 368.8 kB / 367.7 MB, free: 6.062 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2902, allocations: 4 kB / 367.7 MB, free: 6.059 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.2903, allocations: 3.875 kB / 367.7 MB, free: 6.059 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.64e-05/0.2903, allocations: 0 / 367.7 MB, free: 6.059 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.331e-05/0.2905, allocations: 74.23 kB / 367.7 MB, free: 5.977 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.94e-06/0.2906, allocations: 0 / 367.7 MB, free: 5.977 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.2906, allocations: 9.594 kB / 367.7 MB, free: 5.973 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2907, allocations: 3.938 kB / 367.7 MB, free: 5.969 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.291, allocations: 168.1 kB / 367.9 MB, free: 5.805 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 2.885e-05/0.2911, allocations: 18.48 kB / 367.9 MB, free: 5.781 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.2912, allocations: 8.422 kB / 367.9 MB, free: 5.773 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.2913, allocations: 3.984 kB / 367.9 MB, free: 5.77 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.2913, allocations: 39.98 kB / 368 MB, free: 5.727 MB / 296.6 MB Notification: Performance of pre-optimization done (n=1): time 3.212e-06/0.2914, allocations: 0 / 368 MB, free: 5.727 MB / 296.6 MB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.2916, allocations: 42.88 kB / 368 MB, free: 5.688 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.2917, allocations: 133.6 kB / 368.2 MB, free: 5.531 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.2919, allocations: 159.2 kB / 368.3 MB, free: 5.438 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.292, allocations: 25.7 kB / 368.3 MB, free: 5.406 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.2921, allocations: 86.69 kB / 368.4 MB, free: 5.324 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.2921, allocations: 7.156 kB / 368.4 MB, free: 5.32 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-06/0.2922, allocations: 4.031 kB / 368.4 MB, free: 5.316 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 5.35e-05/0.2923, allocations: 321.8 kB / 368.7 MB, free: 5.004 MB / 296.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.2923, allocations: 0 / 368.7 MB, free: 5.004 MB / 296.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.686e-05/0.2924, allocations: 47.17 kB / 368.8 MB, free: 4.957 MB / 296.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.2925, allocations: 13.17 kB / 368.8 MB, free: 4.949 MB / 296.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.2926, allocations: 0 / 368.8 MB, free: 4.949 MB / 296.6 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.743e-05/0.2927, allocations: 49.12 kB / 368.9 MB, free: 4.914 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2928, allocations: 5.375 kB / 368.9 MB, free: 4.914 MB / 296.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.727e-06/0.2929, allocations: 0 / 368.9 MB, free: 4.914 MB / 296.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2929, allocations: 0 / 368.9 MB, free: 4.914 MB / 296.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.03e-05/0.293, allocations: 3.875 kB / 368.9 MB, free: 4.914 MB / 296.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.61e-06/0.2931, allocations: 0 / 368.9 MB, free: 4.914 MB / 296.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.2932, allocations: 9.031 kB / 368.9 MB, free: 4.91 MB / 296.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-06/0.2933, allocations: 11.56 kB / 368.9 MB, free: 4.902 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.2934, allocations: 75.28 kB / 369 MB, free: 20.83 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.2935, allocations: 9.469 kB / 369 MB, free: 20.82 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.2936, allocations: 7.469 kB / 369 MB, free: 20.82 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-06/0.2936, allocations: 0 / 369 MB, free: 20.82 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2937, allocations: 1.125 kB / 369 MB, free: 20.82 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.632e-06/0.2937, allocations: 0 / 369 MB, free: 20.82 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.294, allocations: 153.2 kB / 369.1 MB, free: 20.66 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-06/0.2941, allocations: 0 / 369.1 MB, free: 20.66 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.2942, allocations: 12.41 kB / 369.1 MB, free: 20.66 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2942, allocations: 3.906 kB / 369.1 MB, free: 20.65 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.2943, allocations: 0.5156 kB / 369.1 MB, free: 20.65 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2944, allocations: 3.938 kB / 369.1 MB, free: 20.65 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.353e-06/0.2944, allocations: 3.781 kB / 369.1 MB, free: 20.65 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001286/0.2946, allocations: 68.94 kB / 369.2 MB, free: 20.58 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.2951, allocations: 96.31 kB / 369.3 MB, free: 20.48 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.2952, allocations: 8.938 kB / 369.3 MB, free: 20.48 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.5e-05/0.2953, allocations: 0 / 369.3 MB, free: 20.48 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.2954, allocations: 4.859 kB / 369.3 MB, free: 20.48 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-06/0.2954, allocations: 0 / 369.3 MB, free: 20.48 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001083/0.2956, allocations: 128.8 kB / 369.4 MB, free: 20.41 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.000332/0.296, allocations: 21.33 kB / 369.5 MB, free: 20.4 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003096/0.2964, allocations: 152.9 kB / 369.6 MB, free: 20.31 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 8.723e-05/0.2965, allocations: 16.5 kB / 369.6 MB, free: 20.3 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.492e-06/0.2966, allocations: 0 / 369.6 MB, free: 20.3 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 1.697e-05/0.2966, allocations: 8.703 kB / 369.6 MB, free: 20.3 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.2968, allocations: 7.281 kB / 369.6 MB, free: 20.3 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.2972, allocations: 106.7 kB / 369.8 MB, free: 20.21 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]