Notification: Performance of loadModel(Modelica): time 1.476/1.476, allocations: 194.3 MB / 200.5 MB, free: 5.312 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.311e-06/8.312e-06, allocations: 1.094 kB / 247.1 MB, free: 4.855 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0605/0.06058, allocations: 44.31 MB / 291.4 MB, free: 9.574 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2139/0.2745, allocations: 70.13 MB / 361.5 MB, free: 6.973 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001854/0.2748, allocations: 69.7 kB / 361.6 MB, free: 6.969 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.02169/0.2966, allocations: 5.3 MB / 366.9 MB, free: 6.703 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.2967, allocations: 3.875 kB / 366.9 MB, free: 6.703 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0003229/0.2971, allocations: 389 kB / 367.3 MB, free: 6.32 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2972, allocations: 8.828 kB / 367.3 MB, free: 6.32 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.2973, allocations: 7.781 kB / 367.3 MB, free: 6.316 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006671/0.298, allocations: 367.8 kB / 367.7 MB, free: 6.109 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.2981, allocations: 5.234 kB / 367.7 MB, free: 6.109 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.2982, allocations: 0 / 367.7 MB, free: 6.109 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.318e-05/0.2983, allocations: 4 kB / 367.7 MB, free: 6.105 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.994e-05/0.2984, allocations: 78.47 kB / 367.7 MB, free: 6.023 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2985, allocations: 3.875 kB / 367.7 MB, free: 6.023 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.2986, allocations: 0 / 367.7 MB, free: 6.023 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.426e-06/0.2986, allocations: 0 / 367.7 MB, free: 6.023 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.299, allocations: 172.3 kB / 367.9 MB, free: 5.855 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 3.702e-05/0.2991, allocations: 23.83 kB / 367.9 MB, free: 5.828 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.2992, allocations: 8.734 kB / 367.9 MB, free: 5.82 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 8.381e-06/0.2992, allocations: 3.984 kB / 368 MB, free: 5.816 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.2993, allocations: 34.25 kB / 368 MB, free: 5.777 MB / 296.6 MB Notification: Performance of pre-optimization done (n=1): time 2.515e-06/0.2994, allocations: 0 / 368 MB, free: 5.777 MB / 296.6 MB Notification: Performance of matching and sorting (n=1): time 0.0001418/0.2996, allocations: 47.84 kB / 368 MB, free: 5.738 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.2997, allocations: 128.5 kB / 368.2 MB, free: 5.582 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.2999, allocations: 155.5 kB / 368.3 MB, free: 5.488 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.2999, allocations: 25.7 kB / 368.3 MB, free: 5.457 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.3, allocations: 88.94 kB / 368.4 MB, free: 5.375 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.3001, allocations: 5.172 kB / 368.4 MB, free: 5.371 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-06/0.3002, allocations: 0 / 368.4 MB, free: 5.371 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.3003, allocations: 322.3 kB / 368.7 MB, free: 5.059 MB / 296.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.3003, allocations: 7.875 kB / 368.7 MB, free: 5.055 MB / 296.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.015e-05/0.3004, allocations: 48.05 kB / 368.8 MB, free: 5.004 MB / 296.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/0.3005, allocations: 8.469 kB / 368.8 MB, free: 5.004 MB / 296.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.003e-06/0.3006, allocations: 0 / 368.8 MB, free: 5.004 MB / 296.6 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.673e-05/0.3007, allocations: 51.31 kB / 368.9 MB, free: 4.965 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3008, allocations: 3.938 kB / 368.9 MB, free: 4.965 MB / 296.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.007e-06/0.3009, allocations: 0 / 368.9 MB, free: 4.965 MB / 296.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3009, allocations: 3.75 kB / 368.9 MB, free: 4.965 MB / 296.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.861e-05/0.301, allocations: 5.344 kB / 368.9 MB, free: 4.961 MB / 296.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.168e-06/0.3011, allocations: 3.906 kB / 368.9 MB, free: 4.961 MB / 296.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.3012, allocations: 7.906 kB / 368.9 MB, free: 4.957 MB / 296.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.3013, allocations: 7.844 kB / 368.9 MB, free: 4.949 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.3014, allocations: 76.17 kB / 369 MB, free: 20.88 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.3015, allocations: 11.84 kB / 369 MB, free: 20.87 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.3016, allocations: 9.453 kB / 369 MB, free: 20.87 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.212e-06/0.3016, allocations: 0 / 369 MB, free: 20.87 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3017, allocations: 0 / 369 MB, free: 20.87 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.911e-06/0.3017, allocations: 3.906 kB / 369 MB, free: 20.87 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.302, allocations: 151.2 kB / 369.1 MB, free: 20.71 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.912e-06/0.3021, allocations: 3.875 kB / 369.1 MB, free: 20.71 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.3022, allocations: 0 / 369.1 MB, free: 20.71 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.866e-06/0.3022, allocations: 3.906 kB / 369.1 MB, free: 20.71 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3023, allocations: 5.312 kB / 369.1 MB, free: 20.7 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.723e-06/0.3024, allocations: 3.812 kB / 369.1 MB, free: 20.7 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3024, allocations: 0 / 369.1 MB, free: 20.7 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001366/0.3026, allocations: 67.17 kB / 369.2 MB, free: 20.64 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 9.114e-05/0.3028, allocations: 95.5 kB / 369.3 MB, free: 20.54 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.3029, allocations: 7.938 kB / 369.3 MB, free: 20.54 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.303, allocations: 1.359 kB / 369.3 MB, free: 20.54 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.3031, allocations: 11.88 kB / 369.3 MB, free: 20.53 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.3031, allocations: 0 / 369.3 MB, free: 20.53 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001205/0.3033, allocations: 128.6 kB / 369.5 MB, free: 20.46 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.000272/0.3036, allocations: 23.34 kB / 369.5 MB, free: 20.45 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005021/0.3042, allocations: 148.3 kB / 369.6 MB, free: 20.37 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.3043, allocations: 9.141 kB / 369.6 MB, free: 20.37 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.422e-06/0.3044, allocations: 0 / 369.6 MB, free: 20.37 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 1.536e-05/0.3045, allocations: 3.75 kB / 369.6 MB, free: 20.37 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.3047, allocations: 11.41 kB / 369.6 MB, free: 20.36 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.305, allocations: 114.7 kB / 369.8 MB, free: 20.27 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]