Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.403e-05, allocations: 7.5 kB / 0.5193 GB, free: 11.15 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 76.94 MB / 0.5944 GB, free: 14.14 MB / 496.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.213, allocations: 121.9 MB / 0.7135 GB, free: 33.62 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/1.213, allocations: 64.86 kB / 0.7136 GB, free: 33.56 MB / 0.5022 GB Notification: Performance of FrontEnd: time 2.773/3.986, allocations: 0.5329 GB / 1.247 GB, free: 40.46 MB / 0.6272 GB Notification: Performance of Transformations before backend: time 0.006457/3.993, allocations: 0.8632 MB / 1.247 GB, free: 39.66 MB / 0.6272 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.1345/4.128, allocations: 40.59 MB / 1.287 GB, free: 9.793 MB / 0.6272 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/4.128, allocations: 12.03 kB / 1.287 GB, free: 9.781 MB / 0.6272 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0187/4.146, allocations: 4.002 MB / 1.291 GB, free: 5.734 MB / 0.6272 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06691/4.213, allocations: 20.12 MB / 1.311 GB, free: 6.32 MB / 0.6428 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002091/4.215, allocations: 1 MB / 1.312 GB, free: 5.32 MB / 0.6428 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01069/4.226, allocations: 1.75 MB / 1.313 GB, free: 3.57 MB / 0.6428 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4289/4.655, allocations: 48.56 MB / 1.361 GB, free: 47.1 MB / 0.6428 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1178/4.773, allocations: 43.19 MB / 1.403 GB, free: 46.36 MB / 0.6428 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001339/4.774, allocations: 3.234 kB / 1.403 GB, free: 46.36 MB / 0.6428 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01066/4.785, allocations: 48.91 kB / 1.403 GB, free: 46.36 MB / 0.6428 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005396/4.786, allocations: 0.7515 MB / 1.404 GB, free: 46.36 MB / 0.6428 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5112/5.297, allocations: 151.9 MB / 1.552 GB, free: 6.707 MB / 0.6584 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4402/5.737, allocations: 44.21 MB / 1.595 GB, free: 61.67 MB / 0.674 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04796/5.785, allocations: 19.83 MB / 1.615 GB, free: 61.23 MB / 0.674 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002032/5.787, allocations: 250.6 kB / 1.615 GB, free: 61.21 MB / 0.674 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007768/5.788, allocations: 495.4 kB / 1.615 GB, free: 61.14 MB / 0.674 GB Notification: Performance of pre-optimization done (n=2460): time 7.803e-05/5.788, allocations: 3.5 kB / 1.615 GB, free: 61.14 MB / 0.674 GB Notification: Performance of matching and sorting (n=2460): time 0.155/5.943, allocations: 44.87 MB / 1.659 GB, free: 59.18 MB / 0.674 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002792/5.943, allocations: 306.5 kB / 1.659 GB, free: 59.09 MB / 0.674 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07135/6.015, allocations: 25.74 MB / 1.684 GB, free: 55.05 MB / 0.674 GB Notification: Performance of collectPreVariables (initialization): time 0.0059/6.021, allocations: 76.77 kB / 1.685 GB, free: 55.02 MB / 0.674 GB Notification: Performance of collectInitialEqns (initialization): time 0.01807/6.039, allocations: 14.87 MB / 1.699 GB, free: 45.07 MB / 0.674 GB Notification: Performance of collectInitialBindings (initialization): time 0.01176/6.051, allocations: 7.973 MB / 1.707 GB, free: 38.84 MB / 0.674 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005932/6.057, allocations: 0 / 1.707 GB, free: 38.84 MB / 0.674 GB Notification: Performance of setup shared object (initialization): time 6.67e-05/6.057, allocations: 304.3 kB / 1.707 GB, free: 38.54 MB / 0.674 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05092/6.108, allocations: 19.06 MB / 1.726 GB, free: 34.23 MB / 0.674 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05546/6.163, allocations: 23.09 MB / 1.748 GB, free: 26 MB / 0.674 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0541/6.217, allocations: 23.29 MB / 1.771 GB, free: 20.88 MB / 0.674 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002036/6.218, allocations: 23.31 kB / 1.771 GB, free: 20.88 MB / 0.674 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.5715/6.789, allocations: 68.8 MB / 1.838 GB, free: 67.62 MB / 0.6897 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/6.789, allocations: 46.17 kB / 1.838 GB, free: 67.62 MB / 0.6897 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002257/6.79, allocations: 91.78 kB / 1.838 GB, free: 67.62 MB / 0.6897 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0003324/6.79, allocations: 177.2 kB / 1.839 GB, free: 67.62 MB / 0.6897 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02446/6.814, allocations: 4.555 MB / 1.843 GB, free: 67.39 MB / 0.6897 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003197/6.815, allocations: 226.5 kB / 1.843 GB, free: 67.35 MB / 0.6897 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0434/6.858, allocations: 6.028 MB / 1.849 GB, free: 67.35 MB / 0.6897 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00656/6.865, allocations: 0.9116 MB / 1.85 GB, free: 67.35 MB / 0.6897 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2043): * Single equations (assignments): 2042 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01031/6.875, allocations: 0.4938 MB / 1.851 GB, free: 67.02 MB / 0.6897 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01137/6.886, allocations: 2.539 MB / 1.853 GB, free: 66.39 MB / 0.6897 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/6.897, allocations: 3.792 MB / 1.857 GB, free: 66.12 MB / 0.6897 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002457/6.897, allocations: 230 kB / 1.857 GB, free: 66.12 MB / 0.6897 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004186/6.898, allocations: 232.2 kB / 1.857 GB, free: 66.12 MB / 0.6897 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00044/6.898, allocations: 121.7 kB / 1.857 GB, free: 66.12 MB / 0.6897 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06256/6.961, allocations: 26.56 MB / 1.883 GB, free: 65.18 MB / 0.6897 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001759/6.961, allocations: 0 / 1.883 GB, free: 65.18 MB / 0.6897 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009499/6.971, allocations: 1.905 MB / 1.885 GB, free: 65.1 MB / 0.6897 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.000165/6.971, allocations: 27.16 kB / 1.885 GB, free: 65.1 MB / 0.6897 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003448/6.974, allocations: 3.281 kB / 1.885 GB, free: 65.1 MB / 0.6897 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.538e-05/6.974, allocations: 32.03 kB / 1.885 GB, free: 65.1 MB / 0.6897 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.957e-06/6.974, allocations: 3.953 kB / 1.885 GB, free: 65.09 MB / 0.6897 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1868/7.161, allocations: 70.58 MB / 1.954 GB, free: 59.98 MB / 0.6897 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01366/7.175, allocations: 3.972 MB / 1.958 GB, free: 58.58 MB / 0.6897 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01042/7.185, allocations: 0 / 1.958 GB, free: 58.58 MB / 0.6897 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05085/7.236, allocations: 8.463 MB / 1.966 GB, free: 58.58 MB / 0.6897 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006558/7.243, allocations: 2.504 MB / 1.969 GB, free: 58.56 MB / 0.6897 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005179/7.248, allocations: 0.704 MB / 1.969 GB, free: 58.56 MB / 0.6897 GB Notification: Performance of sorting global known variables: time 0.03976/7.288, allocations: 18.83 MB / 1.988 GB, free: 55.62 MB / 0.6897 GB Notification: Performance of sort global known variables: time 9.49e-07/7.288, allocations: 0 / 1.988 GB, free: 55.62 MB / 0.6897 GB Notification: Performance of remove unused functions: time 0.05073/7.339, allocations: 10.05 MB / 1.998 GB, free: 54.29 MB / 0.6897 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (822): * Single equations (assignments): 821 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009584/7.348, allocations: 336.1 kB / 1.998 GB, free: 54.11 MB / 0.6897 GB Notification: Performance of simCode: created initialization part: time 0.1171/7.465, allocations: 40.43 MB / 2.037 GB, free: 33.51 MB / 0.6897 GB Notification: Performance of simCode: created event and clocks part: time 7.458e-05/7.465, allocations: 61.56 kB / 2.037 GB, free: 33.45 MB / 0.6897 GB Notification: Performance of simCode: created simulation system equations: time 0.06148/7.527, allocations: 18.37 MB / 2.055 GB, free: 17.82 MB / 0.6897 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04941/7.576, allocations: 4.681 MB / 2.06 GB, free: 14.29 MB / 0.6897 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.508/8.084, allocations: 86.18 MB / 2.144 GB, free: 82.52 MB / 0.7053 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05143/8.136, allocations: 22.73 MB / 2.166 GB, free: 80.87 MB / 0.7053 GB Notification: Performance of simCode: alias equations: time 0.04925/8.185, allocations: 12.61 MB / 2.179 GB, free: 80.67 MB / 0.7053 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007559/8.193, allocations: 1.039 MB / 2.18 GB, free: 80.66 MB / 0.7053 GB Notification: Performance of SimCode: time 1.873e-06/8.193, allocations: 0 / 2.18 GB, free: 80.66 MB / 0.7053 GB Notification: Performance of Templates: time 1.542/9.735, allocations: 332.5 MB / 2.504 GB, free: 78.35 MB / 0.7209 GB