Notification: Performance of loadModel(Modelica): time 1.578/1.578, allocations: 194.5 MB / 200.7 MB, free: 5.184 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.428e-06/9.568e-06, allocations: 0 / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06174/0.06183, allocations: 44.36 MB / 291.7 MB, free: 9.324 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2223/0.2842, allocations: 70.15 MB / 361.8 MB, free: 7.02 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001691/0.2845, allocations: 71.62 kB / 361.9 MB, free: 7.016 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.02377/0.3083, allocations: 5.297 MB / 367.2 MB, free: 6.746 MB / 296.6 MB Notification: Performance of Transformations before backend: time 9.847e-06/0.3084, allocations: 7.812 kB / 367.2 MB, free: 6.742 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0003348/0.3088, allocations: 382.2 kB / 367.6 MB, free: 6.363 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3089, allocations: 7.719 kB / 367.6 MB, free: 6.363 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.309, allocations: 17.36 kB / 367.6 MB, free: 6.352 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007317/0.3098, allocations: 366.7 kB / 368 MB, free: 6.148 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3099, allocations: 3.812 kB / 368 MB, free: 6.148 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.31, allocations: 0 / 368 MB, free: 6.148 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.757e-05/0.3101, allocations: 4.406 kB / 368 MB, free: 6.148 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.3102, allocations: 82.56 kB / 368.1 MB, free: 6.059 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3103, allocations: 3.875 kB / 368.1 MB, free: 6.059 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.3104, allocations: 0 / 368.1 MB, free: 6.059 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3105, allocations: 0 / 368.1 MB, free: 6.059 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.3109, allocations: 165.7 kB / 368.2 MB, free: 5.895 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 3.562e-05/0.311, allocations: 26.86 kB / 368.2 MB, free: 5.867 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.3111, allocations: 4.859 kB / 368.2 MB, free: 5.859 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.3111, allocations: 8.531 kB / 368.3 MB, free: 5.855 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.3112, allocations: 31.45 kB / 368.3 MB, free: 5.816 MB / 296.6 MB Notification: Performance of pre-optimization done (n=1): time 2.444e-06/0.3112, allocations: 0 / 368.3 MB, free: 5.816 MB / 296.6 MB Notification: Performance of matching and sorting (n=1): time 0.0001523/0.3114, allocations: 43.23 kB / 368.3 MB, free: 5.781 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.3115, allocations: 128.5 kB / 368.5 MB, free: 5.625 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.3118, allocations: 156.8 kB / 368.6 MB, free: 5.531 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3118, allocations: 25.7 kB / 368.6 MB, free: 5.5 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.3119, allocations: 93.72 kB / 368.7 MB, free: 5.414 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.312, allocations: 4.469 kB / 368.7 MB, free: 5.41 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-06/0.312, allocations: 0 / 368.7 MB, free: 5.41 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 5.594e-05/0.3121, allocations: 322.9 kB / 369 MB, free: 5.098 MB / 296.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.3122, allocations: 0 / 369 MB, free: 5.098 MB / 296.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.238e-05/0.3123, allocations: 47.7 kB / 369.1 MB, free: 5.047 MB / 296.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.815e-05/0.3124, allocations: 12.75 kB / 369.1 MB, free: 5.043 MB / 296.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.143e-06/0.3125, allocations: 0 / 369.1 MB, free: 5.043 MB / 296.6 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/0.3126, allocations: 47.17 kB / 369.1 MB, free: 5.008 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3127, allocations: 4.797 kB / 369.2 MB, free: 5.008 MB / 296.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.565e-06/0.3128, allocations: 0 / 369.2 MB, free: 5.008 MB / 296.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3128, allocations: 0 / 369.2 MB, free: 5.008 MB / 296.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.3129, allocations: 4.703 kB / 369.2 MB, free: 5.008 MB / 296.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.313, allocations: 0 / 369.2 MB, free: 5.008 MB / 296.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.3132, allocations: 24.64 kB / 369.2 MB, free: 4.988 MB / 296.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-06/0.3132, allocations: 3.844 kB / 369.2 MB, free: 4.988 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.3133, allocations: 75.28 kB / 369.3 MB, free: 4.914 MB / 296.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.3134, allocations: 8.641 kB / 369.3 MB, free: 4.91 MB / 296.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.3135, allocations: 12.27 kB / 369.3 MB, free: 4.91 MB / 296.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3136, allocations: 0.8906 kB / 369.3 MB, free: 4.91 MB / 296.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.727e-06/0.3136, allocations: 0 / 369.3 MB, free: 4.91 MB / 296.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.47e-06/0.3137, allocations: 0 / 369.3 MB, free: 4.91 MB / 296.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.314, allocations: 153.3 kB / 369.4 MB, free: 20.75 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-06/0.3141, allocations: 7.906 kB / 369.4 MB, free: 20.74 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.3142, allocations: 3.938 kB / 369.4 MB, free: 20.74 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.3143, allocations: 0.9844 kB / 369.4 MB, free: 20.74 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3143, allocations: 0 / 369.4 MB, free: 20.74 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.933e-06/0.3144, allocations: 0 / 369.4 MB, free: 20.74 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.191e-06/0.3144, allocations: 0 / 369.4 MB, free: 20.74 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001729/0.3147, allocations: 75.75 kB / 369.5 MB, free: 20.67 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3148, allocations: 94.86 kB / 369.6 MB, free: 20.57 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.3149, allocations: 0 / 369.6 MB, free: 20.57 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/0.3151, allocations: 3.906 kB / 369.6 MB, free: 20.57 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.06e-05/0.3152, allocations: 1.172 kB / 369.6 MB, free: 20.57 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-06/0.3152, allocations: 3.969 kB / 369.6 MB, free: 20.57 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.000145/0.3154, allocations: 139.6 kB / 369.8 MB, free: 20.49 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0003299/0.3158, allocations: 20.53 kB / 369.8 MB, free: 20.49 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003408/0.3162, allocations: 149.7 kB / 369.9 MB, free: 20.4 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.3164, allocations: 11.88 kB / 369.9 MB, free: 20.4 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.631e-06/0.3164, allocations: 7.938 kB / 369.9 MB, free: 20.39 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.3165, allocations: 3.906 kB / 369.9 MB, free: 20.39 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.3167, allocations: 4.438 kB / 369.9 MB, free: 20.39 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.3171, allocations: 102.9 kB / 370 MB, free: 20.31 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]